Skip to content

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

Merged
ealsur merged 5 commits intoAzure:devfrom
ealsur:users/ealsur/412logs
Dec 20, 2022
Merged

Cosmos DB: Add log case for lease lost due to scaling#813
ealsur merged 5 commits intoAzure:devfrom
ealsur:users/ealsur/412logs

Conversation

@ealsur
Copy link
Copy Markdown
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.

2 participants