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

Cosmos DB: Add log case for lease lost due to scaling #813

Merged
merged 5 commits into from
Dec 20, 2022

Conversation

ealsur
Copy link
Member

@ealsur ealsur commented Dec 20, 2022

When a lease is lost due to Scaling/Rebalancing, currently the extension is producing the logs but using an Error level.

The HTTP 412 from the Change Feed Processor should not be an Error because it's part of the expected flow when new instances are added.

This PR adds the case for HTTP 412 and reduces the log level to Information.

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.

None yet

2 participants