Skip to content
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

fix(ChangeStream): whitelist resumable errors #2337

Merged
merged 4 commits into from
Apr 30, 2020

Conversation

emadum
Copy link
Contributor

@emadum emadum commented Apr 30, 2020

Description

Merging resumable error whitelist related changes from 3.6 - the goal is to rebase #2333 off these changes once merged into 3.5.

NODE-2478
NODE-2522
NODE-2565

What changed?

Are there any files to ignore?

emadum added 4 commits April 30, 2020 12:08
  - Changes which errors are considered resumable on change streams,
    adding support for the new ResumableChangeStreamError label.
  - Removes ElectionInProgress (216) from ResumableChangeStreamError.
  - Updates ChangeStream prose tests which described startAfter
    behavior for unsupported server versions.
  - Fixes use of startAfter/resumeAfter when resuming from an
    invalidate event. Implement prose tests #17 and #18.

NODE-2478
NODE-2522
The isResumableError function should not check for the
NonResumableChangeStreamError label.

NODE-2565
@emadum emadum requested a review from mbroadst April 30, 2020 18:11
@mbroadst
Copy link
Member

@emadum please make sure to update the ticket to indicate that this was fixed in 3.5.8 instead of 3.6

@emadum emadum merged commit a9d3965 into 3.5 Apr 30, 2020
@emadum emadum deleted the NODE-2478/3.5/whitelist-changestream-resume-errors branch April 30, 2020 18:59
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