Skip to content

Avoid scanning historical oplog in cluster-wide changeStream tests - #665

Merged
eerxuan merged 2 commits into
documentdb:mainfrom
danielfrankcom:pr/changeStream-fix
Jul 3, 2026
Merged

Avoid scanning historical oplog in cluster-wide changeStream tests#665
eerxuan merged 2 commits into
documentdb:mainfrom
danielfrankcom:pr/changeStream-fix

Conversation

@danielfrankcom

Copy link
Copy Markdown
Collaborator

This change opens the cluster-wide changeStream in the acceptance tests with batchSize: 0 so they don't read historical oplog events.

This should fix the recent intermittent CI failures where the stream materialized another test's oversized change event.

Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
@danielfrankcom
danielfrankcom requested a review from a team as a code owner July 2, 2026 23:51
@eerxuan
eerxuan merged commit 81d9ac2 into documentdb:main Jul 3, 2026
20 checks passed
krishnasai453 pushed a commit to krishnasai453/functional-tests that referenced this pull request Jul 8, 2026
SarthakDalmia1 pushed a commit to SarthakDalmia1/functional-tests that referenced this pull request Jul 10, 2026
…ocumentdb#665)

Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
Signed-off-by: Sarthak Dalmia <sadalmia@microsoft.com>
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