Implement support for doing sub-document full-document get, add and sets for use with Xattrs.
Unable to lookup or set document body and xattr in single subdoc operation
Brett Lawson Will the sub-document full-document get/set/add payloads be run through the same transcoder used for single doc operations? As discussed elsewhere, we're planning to use a custom transcoder to allow us to read/write documents as raw bytes, and would need that ability in the subdoc/full-doc operations.
The subdocument operations do not use the built in transcoders as they are guaranteed to be valid JSON (as that is the only thing SubDocument supports). We are however adding the ability to directly read/write byte's instead of being forced to marshal or unmarshal the data.
That should be sufficient - thanks.
Build 5.0.0-2592 contains gocb commit df342b9a5303e91a7a706780ca01b79a5751e124 with commit message:
GOCBC-181: Add support for Full-Doc Sub-Document operations.
Build 5.0.0-2592 contains gocbcore commit cbfa27df3919808d0d3ba22ec3454ded33f048a3 with commit message:
GOCBC-181: Add support for Full-Doc SubDocument operations.
After moving to 5.0.0-2682 to pick up MB-23522, there's no longer a way to set the ACCESS_DELETED flag when retrieving xattrs (now that it's been moved to the new subdoc_doc_flags).
This blocks uptake and testing of the rest of this functionality.
Tracking the new bug under GOCBC-189.