couchbaselabs / couchbaselabs/Linq2Couchbase
Unable to save document edited during ChangeTracking
- Dominant language
- C#
- Stars
- 98
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
This integration test fails:
BucketContextTests.SubmitChanges_WhenDocsAreModified_DocumentIsMutated
with the error:
Couchbase.Linq.CouchbaseConsistencyException : Data exists for key
The test enables ChangeTracking, retrieves and updates a document then calls SubmitChanges(). This should update the stored document, but is instead throwing CouchbaseConsistencyException which indicates the result's status was "KeyExists". See [here](https://github.com/couchbaselabs/Linq2Couchbase/blob/master/Src/Couchbase.Linq/BucketContext.cs#L314).
I don't think a KeyExists response code should be interpreted as consistency issue.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.