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 Estimator: Fixes exception propagation #2392

Merged
merged 4 commits into from
Apr 14, 2021

Conversation

ealsur
Copy link
Member

@ealsur ealsur commented Apr 14, 2021

#1830 introduced a regression on the refactoring of the Change Feed Estimator push model, where cases where the monitored or lease container did not exist were not throwing on StartAsync but rather failed and were captured during the initialization task and only surfaced when trying to StopAsync.

This PR fixes the scenario by moving the initialization back to the StartAsync flow and before the runner task is initiated.

Also improving performance by using the Cached Container Properties when initializing the lease store manager, this way if a customer is sharing the Lease Container object across many estimators/processors, we don't do another request to fetch the Partition Key (since it cannot be changed at any point).

Type of change

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

Closing issues

Closes #2389

@ealsur ealsur merged commit 6a38b2d into master Apr 14, 2021
@ealsur ealsur deleted the users/ealsur/estimatorstart branch April 14, 2021 21:02
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.

ChangeFeed Estimator Instances fail with "NotFound" when running StopAsync()
2 participants