Skip to content

CXXCBC-310 Transaction fit test errors#378

Merged
davidkelly merged 1 commit intomainfrom
dk/cxxcbc-310
Mar 4, 2023
Merged

CXXCBC-310 Transaction fit test errors#378
davidkelly merged 1 commit intomainfrom
dk/cxxcbc-310

Conversation

@davidkelly
Copy link
Copy Markdown
Contributor

When we stage an insert, and get an ambiguous fail back, we look for the
doc and examine it to see if we can retry, etc... When doing so, if
the doc was staged successfully, we just need to make sure the that we
use the staged_mutation's content, not the content in the
staged_mutation's doc, as that will have the results of looking at the
document after we staged it as a tombstone, so the content will be
empty. This showed up in some ambiguous fail tests in fit. Simple
fix.

When we stage an insert, and get an ambiguous fail back, we look for the
doc and examine it to see if we can retry, etc...   When doing so, if
the doc was staged successfully, we just need to make sure the that we
use the staged_mutation's content, not the content in the
staged_mutation's doc, as that will have the results of looking at the
document after we staged it as a tombstone, so the content will be
empty.   This showed up in some ambiguous fail tests in fit.  Simple
fix.
@davidkelly davidkelly marked this pull request as ready for review March 4, 2023 00:58
@davidkelly davidkelly merged commit 8dd03b0 into main Mar 4, 2023
@davidkelly davidkelly deleted the dk/cxxcbc-310 branch March 4, 2023 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants