-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[BUG] Azure Cosmos DB 4.13 - Bulk on Gateway mode #21126
Comments
ghost
added
the
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
label
May 4, 2021
kushagraThapar
added
Client
This issue points to a problem in the data-plane of the library.
Cosmos
labels
May 4, 2021
ghost
removed
the
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
label
May 4, 2021
azure-sdk
pushed a commit
to azure-sdk/azure-sdk-for-java
that referenced
this issue
Dec 8, 2022
Release app microsoft.app 2022 10 01 (Azure#21683) * Adds base for updating Microsoft.App from version preview/2022-06-01-preview to version 2022-10-01 * Updates readme * Updates API version in new specs and examples * Add AppState and LatestReadyRevisionName (Azure#21034) * Add new props * add defaults * Add swagger for client cert & CORS policy (Azure#21126) * Fix password format of env domain for 2022-10-01 (Azure#21463) * fix * fix * Remove AppState property as we decided to postpone it (Azure#21483) * Remove AppState property as we decided to postpone it * Fix swagger issues * More swagger fixes * s360 swagger correctness fixes (Azure#21472) Co-authored-by: Nan Jiang <naji@microsoft.com> * Add kind for managed environment (Azure#21589) * add * fix * fix (Azure#21730) * fix (Azure#21747) Co-authored-by: p-bouchon <107427816+p-bouchon@users.noreply.github.com> Co-authored-by: Ruslan Yakushev <1664475+ruslany@users.noreply.github.com> Co-authored-by: zhenqxuMSFT <zhenqxu@microsoft.com> Co-authored-by: najian <jiangnan8924@gmail.com> Co-authored-by: Nan Jiang <naji@microsoft.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
When working with the client on Gateway mode and performing Bulk import operations, when the collection faces splits, the SDK is failing the Bulk operations with a 410 CosmosException
Exception or Stack Trace
To Reproduce
Running the
CosmosBulkAsyncTest
,createItem_withBulk
with@Factory(dataProvider = "simpleClientBuilderGatewaySession")
and triggering splits on the collection generates a Bulk response that containsnull
on the response and anexception
which is a 410:Code Snippet
Add the code snippet that causes the issue.
Expected behavior
Gateway mode should behave as Direct mode, it should be able to recover from splits.
The reason Direct mode works is because the partition routing maps are refreshed by the Consistency/HA stack, but that doesn't exist on Gateway mode.
Screenshots
Already added previously
Setup (please complete the following information):
Additional context
This issue was fixed in the .NET SDK on Azure/azure-cosmos-dotnet-v3#2069
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: