Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.8.0
-
Security Level: Public
-
None
-
CBG Sprint 63, CBG Sprint 64, CBG Sprint 65
-
5
Description
Tested version : 2.8.0. Have not tested in previous versions to see if regression. Shared bucket access enabled
Repro :
call DELETE on a non-existent document via the REST API
a document with empty body is "created"with a tombstoned flag set but there is no _deleted: true set (This flag is set if I call DELETE on an existing document)
I cannot do a GET via REST API on doc, returns 404 as expected.
Expected: I'd expect the DELETE call just be a noop when there is no document.
Related issue- why are tombstones getting created with a body ?
On the related issue, maybe worthwhile following up on this forum post where the user is seeing empty body tombstones (but documents supposedly existed) https://forums.couchbase.com/t/strange-sync-issue-what-could-have-happened/28386/3
Attachments
Issue Links
- blocks
-
CBG-1214 [2.8.1 Backport] Calling DELETE on non-existent document creates non-tombstone
- Closed