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

[CosmosDB] Review Scaling and RuntimeScaleMonitoring Settings #854

Open
FinVamp1 opened this issue Jul 14, 2023 · 1 comment
Open

[CosmosDB] Review Scaling and RuntimeScaleMonitoring Settings #854

FinVamp1 opened this issue Jul 14, 2023 · 1 comment

Comments

@FinVamp1
Copy link
Member

3The potential exists for the Runtime Scale Monitoring decide to Scale In and out depending on the work length and Physical Partition count.

This came in as a CRI 405625406.

Repro steps

Provide the steps required to reproduce the problem

  1. Create an App on Elastic Premium
  2. Create a CosmosDB instance.
  3. Connect these to the same VNet.
  4. Create a CosmosDB trigger and point it to the collection from Step 2.
  5. Enable Runtime Scale Monitoring
  6. Add more than 1000 documents to the collection above.
  7. The Trigger on one instance will process the back log but the Scale Monitor will try to Scale In but also log the error that the remaining work is too high.

Events logged when three instances.
Number of instances (3) is too high relative to number of partitions for collection ({collectionName}, 1).   Events that are logged with one instances.
Remaining work for collection ({collectionName}, 9543) is too high relative to the number of instances (1).

Expected behavior

To allow more concurrency to allow the backlog to be processed in an accelerated manner.

Actual behavior

The work will only be

Known workarounds

The backlog will be processed on a single instance.

Related information

Provide any related information

@FinVamp1
Copy link
Member Author

FinVamp1 commented Aug 1, 2023

HI, I'm also in the Functions team as a a software engineer and this came in as a customer issue. The answer you provided doesn't mean that there isn't a need for a fix related to this.

@bhagyshricompany bhagyshricompany removed their assignment Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants