Details
-
Improvement
-
Resolution: Fixed
-
Critical
-
None
-
Security Level: Public
-
None
Description
One use case for observe would be to delete the document, then query the view stale=false. The current observe command does not allow a client to see the difference between a logical deletion and a fully processed deletion.
Proposal would be to take the keystate as described at http://www.couchbase.com/wiki/display/couchbase/Observe and add additional states to the bitfield. That wiki page currently documents "not found, persisted" as impossible, but the proposal would be to make that possible and represent a processed deletion. Thus, a "not found, not persisted" would indicate a logical deletion is still in place.