Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.0.0
-
Untriaged
-
Centos 64-bit
-
Unknown
Description
If an Upsert/Replace document operation is done against an existing document with XATTRs, the XATTRs are lost.
For example:
const string key = "xattrs_demo"; |
const string createBy = "jack"; |
|
_bucket.Remove(key);
|
_bucket.Insert(key, new {name = "mike"}); |
|
_bucket.MutateIn<dynamic>(key)
|
.Upsert("_data.created_by", createBy, SubdocFlags.CreatePath | SubdocFlags.AttributePath) |
.Execute();
|
|
_bucket.Replace(key, new {name = "michael"}); |
|
_bucket.LookupIn<dynamic>(key)
|
.Get("_data.created_by", SubdocFlags.AttributePath) |
.Execute();
|
The response code is 0x00c0 with message: Subdoc: Path not does not exist. I've attached a pcap file with my requests.
Attachments
Issue Links
- relates to
-
MB-21941 Add XATTR support to KV
- Closed