Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.0.1, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.5.0, 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.5.5, 6.0.0, 6.0.1, 6.0.2
-
None
-
Triaged
-
No
-
KV-Engine MH Beta part 2
Description
When Couchbase Server sends a DCP Mutation packet for a binary document with extended attributes the datatype field is incorrectly set to 5 (JSON + XAttrs) and not 4 (Raw + XAttrs).
The earliest version of Couchbase Server I have tested is 5.0.1 (because there isn't a docker container for 5.0.0).
I have included a tcpdump which should contain an effected mutation packet if filtered as 'couchbase and couchbase.opcode == 0x57'
Steps to reproduce:
1, Spin up a Couchbase 5.0.1 docker/vagrant cluster container.
2, Use a later version of cbworkloadgen (which supports xattrs) to insert a single binary document with xattrs.
3, Start tcpdump listening for network from Couchbase Server 'tcpdump -i any -C 1024 -W 10 -w dump.pcap -s 0 port 11210'.
4, Create a backup of the previously created bucket using cbbackupmgr.
5, Look at the datatype for the relevant dcp mutation packet sent by Couchbase Server.
Attachments
For Gerrit Dashboard: MB-35410 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
113021,1 | MB-35410: Update datatype on wholedoc operation | master | kv_engine | Status: ABANDONED | -1 | -1 |
113067,5 | MB-35410: Update datatype on wholedoc operation | alice | kv_engine | Status: MERGED | +2 | +1 |
113988,7 | Merge remote-tracking branch 'couchbase/alice' | master | kv_engine | Status: MERGED | +2 | +1 |