Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
None
Description
Retrieval of xattrs for logically deleted documents (using SUBDOC_FLAG_ACCESS_DELETED) return a non-zero memd error code (0xcd) when successful:
gocb doesn't recognize that error, terminates response processing, and returns 'an unknown error occured' error, and an empty DocumentFragment.
Based on local testing, things work if I let the 0xcd error through here:
https://github.com/couchbase/gocbcore/blob/master/agentops_subdoc.go#L272
Sample gocb code to reproduce the error:
https://gist.github.com/adamcfraser/1a8c35b9a741f1484f9db75b42eaaf86