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

cannot redistribute partition throughput on cosmosdb with >50 partitions #29341

Open
IanBrown-OAG opened this issue Jul 9, 2024 · 1 comment
Labels
Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. CosmosDB az cosmosdb customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.

Comments

@IanBrown-OAG
Copy link

Describe the bug

using https://learn.microsoft.com/en-us/cli/azure/cosmosdb/sql/container?view=azure-cli-latest#az-cosmosdb-sql-container-redistribute-partition-throughput which admittedly is in preview, to even out the RU distribution, it fails with an error

Related command

az cosmosdb sql container redistribute-partition-throughput --resource-group $resourceGroupName --account-name $accountName --database-name $dbName --name $containerName --evenly-distribute

Errors

az : ERROR: (BadRequest) Message: {"code":"BadRequest","message":"Message: {"Errors":["Max allowed partition throughput reads per request is currently 50."]}\r\n

Issue script & Debug output

cosmos_error.txt
too large to insert, attached

Expected behavior

I expect it to redistribute the RUs across the partitions.

Environment Summary

azure-cli 2.62.0

core 2.62.0
telemetry 1.1.0

Extensions:
account 0.2.5
cosmosdb-preview 1.0.1
stream-analytics 1.0.0

Dependencies:
msal 1.28.1
azure-mgmt-resource 23.1.1

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'

Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 21:52:07) [MSC v.1937 32 bit (Intel)]

Additional context

No response

@IanBrown-OAG IanBrown-OAG added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jul 9, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Jul 9, 2024

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Service Attention This issue is responsible by Azure service team. CosmosDB az cosmosdb labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. CosmosDB az cosmosdb customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants