Skip to content

CXXCBC-310 Transaction fit test errors #378

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 4, 2023
Merged

CXXCBC-310 Transaction fit test errors #378

merged 1 commit into from
Mar 4, 2023

Conversation

davidkelly
Copy link
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