Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.47 KB

range_scan_cancel.md

File metadata and controls

42 lines (31 loc) · 1.47 KB

Range Scan Cancel (0xDC)

Requests that the server cancels an existing range scan.

The request:

  • Must contain extras
  • No key
  • No value

The command uses an extras section to describe the input parameters.

Extra definition

The extras for a continue range scan encodes:

  • 128-bit uuid identifying the scan
     Byte/     0       |       1       |       2       |       3       |
        /              |               |               |               |
       |0 1 2 3 4 5 6 7|0 1 2 3 4 5 6 7|0 1 2 3 4 5 6 7|0 1 2 3 4 5 6 7|
       +---------------+---------------+---------------+---------------+
      0| scan identifier                                               |
       +                                                               +
      4|                                                               |
       +                                                               +
      8|                                                               |
       +                                                               +
     12|                                                               |
       +                                                               +
       +---------------+---------------+---------------+---------------+
       Total 16bytes

Errors

Additional to common errors such as validation failure, auth-failure and not-my-vbucket the following errors can occur.

Status::KeyEnoent (0x01)

No scan with the given uuid could be found.