vbucket-seqno
- reference
Provides seqno statistics for vBuckets.
Description
This command provides details connected to the sequence number (seqno) for the specified vBucket, or for each vBucket if none is specified.
The identifier for each vBucket statistic begins with the string vb_
followed by the vBucket ID and a colon.
For example, for vBucket 1023, the identifier for the uuid
statistic is vb_1023:uuid
.
Name | Description |
---|---|
|
The last seqno assigned by this vBucket. |
|
The last seqno assigned by this vBucket, or in case of replica, the last closed checkpoint’s end seqno. |
|
The last persisted seqno for the vBucket. |
|
The last seqno purged by the compactor. |
|
The current vBucket uuid. |
|
The last persisted snapshot start seqno for the vBucket. |
|
The last persisted snapshot end seqno for the vBucket. |
Options
Option | Description |
---|---|
|
vBucket ID. In a standard system this will be between 0 and 1023. If not provided as part of the command then details for all vBuckets are shown. |
For common cbstats
options, see cbstats
.
Example
Request
cbstats localhost:11210 -u Administrator -p password -b beer-sample vbucket-seqno 1023
Response
vb_1023:abs_high_seqno: 10 vb_1023:high_seqno: 10 vb_1023:last_persisted_seqno: 10 vb_1023:last_persisted_snap_end: 10 vb_1023:last_persisted_snap_start: 10 vb_1023:purge_seqno: 0 vb_1023:uuid: 66069026212209