compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (24)

View Page History
|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| 0x80 | 0xb1 0x96 | 0x00 | 0x00 |
+---------------+---------------+---------------+---------------+
4| 0x00 | 0x00 | 0x00 | 0x00 |
Field (offset) (value)
Magic (0) : 0x80
Opcode (1) : 0xb1 0x96
Key length (2,3) : 0x0000
Extra length (4) : 0x00
Opaque (12-15): 0xdeadbeef
CAS (16-23): 0x0000000000000000
# Keys (24-25): 0x0002
Key #0
Key #0
vbucket (26-27): (24-25): 0x0004
keylen (28-29): (26-27): 0x0005
(30-34): (28-32): "hello"
Key #1
Key #1
vbucket (35-36): (33-34): 0x0005
keylen (37-38): (35-36): 0x0005
(39-43): (37-41): "world"
{code}

|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| 0x81 | 0xb1 0x96 | 0x00 | 0x00 |
+---------------+---------------+---------------+---------------+
4| 0x00 | 0x00 | 0x00 | 0x00 |
Field (offset) (value)
Magic (0) : 0x81
Opcode (1) : 0xb1 0x96
Key length (2,3) : 0x0000
Extra length (4) : 0x00
Persist Stat (16-19): 0x000003e8 (msec time)
Repl Stat (20-23): 0x00000064 (msec time)
# Keys (24-25): 0x0002
Key #0
Key #0
vbucket (26-27): (24-25): 0x0004
keylen (28-29): (26-27): 0x0005
(30-34): (28-32): "hello"
(33) : 0x01 (persisted)
cas (34-41): 000000000000000a
Key #1
vbucket (42-43): 0x0005
keylen (44-45): 0x0005
(35-35): 0x01 (persisted) (46-50): "world"
(51) : 0x00 (not persisted)
cas (36-43): 000000000000000a (52-59): deadbeefdeadcafe
Key #1
vbucket (44-45): 0x0005
keylen (46-47): 0x0005
(48-52): "world"
(53-53): 0x00 (not persisted)
cas (54-61): deadbeefdeadcafe
{code}