Details
-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
1
-
SDK36: SearchFeat/Txns/Docs
Description
Currently, the client doesn't usually raise exceptions. Thats ok, but complicates later parsing in the txn code, to determine whether an error is transient, etc... Perhaps client exceptions will make that easier - so the understanding of rc need not leak out of the client.
Or, we expose the return codes (symbolically), which is ok too. The thing is, we can't have comparisons with actual integers – that is fragile and unreadable/unmaintainable.
Up until now, we had bigger problems. But now that we need the retry logic to work correctly in the tests, this needs to be addressed. Four of the 5 fails left in StandardTest are due to retry logic in insert, which is tricky enough without comparisons involving magic numbers.
Attachments
Issue Links
- blocks
-
TXNCXX-40 Several StandardTest failures due to retries
- Closed
For Gerrit Dashboard: TXNCXX-41 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
135647,2 | TXNCXX-26 handle existing doc during insert | main | couchbase-transactions-cxx | Status: MERGED | +2 | +1 |