Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.5.0, 2.6.0, 2.5.1
-
Security Level: Public
-
CBG Sprint 27
-
3
Description
Tested with 2.5.1-11
The following steps were performed:
- Create a document on CBL
- Replicate to SG (non-continuous)
- Delete using SG REST API
- Replicate to CBL (non-continuous)
However, the resulting BLIP messages sent as a result of step 4 differ depending on whether or not delta sync is enabled. Here is the message that is sent when it is not enabled:
Frame Flags: Compressed|NoReply (0x28)
|
Properties Length: 163
|
Properties: rev:2-066de708b416c349d2d99f6b3a6e9329:deleted:1:sequence:12:history:1-070d1d91d6fb3b202607849c8796971a448b806b:Content-Type:application/json:Profile:rev:id:cbl_0
|
Message Body: {}
|
Versus when it is enabled:
Frame Flags: Compressed|NoReply (0x28)
|
Properties Length: 153
|
Properties: Profile:rev:id:cbl_0:rev:2-f7563764e26b0816806c5d4c6d06a9d6:sequence:12:history:1-2dfe55a47f54a4350227fd5564729a0ad3380489:Content-Type:application/json
|
Message Body: {"_removed":true}
|
Technically the removed entry is the one that is correct, but annoyingly the desired behavior is more inline with the deletion. Regardless, it seems they should be unified.