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

Change Feed Processor with Datetime.MinValue and Multi master accounts #954

Merged
merged 10 commits into from
Nov 20, 2019

Conversation

ealsur
Copy link
Member

@ealsur ealsur commented Oct 31, 2019

Pull Request Template

Description

Multi master accounts don't support the If-Modified-Since header. When WithStartTime(DateTime.MinValue.ToUniversalTime()) was used in the Change Feed Processor with a Multi master account, it failed.

With this PR, if DateTime.MinValue.ToUniversalTime() is used to indicate "From the start of time/beginning", we will use the behavior of not specifying If-Modified-Since and not specifying If-None-Match, which uses the old StartFromBeginning.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Closing issues

Closes #938

@ealsur ealsur added bug Something isn't working ChangeFeed labels Oct 31, 2019
@ealsur ealsur self-assigned this Oct 31, 2019
@ausfeldt ausfeldt self-requested a review November 1, 2019 18:11
ausfeldt
ausfeldt previously approved these changes Nov 1, 2019
@kirankumarkolli kirankumarkolli merged commit 4589e13 into master Nov 20, 2019
@kirankumarkolli kirankumarkolli deleted the users/ealsur/starttime branch November 20, 2019 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ChangeFeed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change feed processor cannot read from the beginning
4 participants