key
Provides information on keys.
Description
The following key information is available.
Stat | Description | K/V |
---|---|---|
|
The keys current cas value. |
KV |
|
How long the key has waited for its value to be persisted (0 if clean). |
KV |
|
Expiration time from the epoch. |
KV |
|
Flags for this key. |
KV |
|
If the value is not yet persisted. |
KV |
|
See description below*. |
V |
|
The vbucket state of this key. |
KV |
*key_valid
= can have the following responses:
-
this_is_a_bug
: Some case we didn’t take care of. -
dirty
:The value in memory has not been persisted yet. -
length_mismatch
: The key length in memory doesn’t match the length on the disk. -
data_mismatch
: The data in memory doesn’t match the data on disk. -
flags_mismatch
: The flags in memory don’t match the flags on disk. -
valid
: The key is both on disk and in memory -
ram_but_not_disk:
The value doesn’t exist yet on disk. -
item_deleted
: The item has been deleted.