Version 41 by mikew
on Jul 25, 2012 19:55.

compared with
Version 42 by mikew
on Jul 26, 2012 16:13.

This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History

In the response, the keystate field is intended to be a bitmask for various states. For example:
0x80 = not found
0x00 = found, not persisted
0x01 = found, persisted
0x810 = logically deleted
0x81 = not found

This is primarily because replication can potentially be significantly behind the initial create and we do not want to receive a NOT_FOUND error for the entire set of items being observed in that state. The intent of this being a bitmask is that future extension could allow for this field to indicate if the item is considered in any indexes, etc. Error masks start from the top of the field.