Skip to content

Remove assertion of change streams end iterator document #1367

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 3 commits into from
Apr 3, 2025

Conversation

eramongodb
Copy link
Contributor

Attempt to address spurious EVG task failure due to the following error:

failed: *cs.get_resume_token() == token3 for: { "_data" : "8267ED4C1E0000000E2B0429296E1404" }
==
{ "_data" : "8267ED4C1D000000082B042C0100296E5A100405365E4936E74ED08129D739E8BB4509463C6F7065726174696F6E54797065003C696E736572740046646F63756D656E744B65790046645F6964006467ED4C1D6AA5CE39D608020D000004" }

I suspect it may be due to the change stream being created from the client object which does not inherit "majority" read or write concern despite the write commands to the collection using "majority" write concern.

@eramongodb eramongodb requested a review from kevinAlbs April 2, 2025 19:27
@eramongodb eramongodb self-assigned this Apr 2, 2025
@eramongodb eramongodb changed the title Use majority read/write concern for collection being watched Use majority read/write concern for change streams prose test 1 Apr 2, 2025
@eramongodb eramongodb changed the title Use majority read/write concern for change streams prose test 1 Remove assertion of change streams end iterator document Apr 2, 2025
@eramongodb eramongodb requested a review from kevinAlbs April 2, 2025 21:21
@eramongodb eramongodb merged commit a5519b8 into mongodb:master Apr 3, 2025
16 of 20 checks passed
@eramongodb eramongodb deleted the cxx-change_streams branch April 3, 2025 14:02
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