- Adding nregion feature to changelog#47987
Merged
mbhaskar merged 1 commit intoAzure:mainfrom Feb 17, 2026
Merged
Conversation
- Always parsing nregion header in storeresult
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Cosmos Java SDK to better support the N-Region synchronous commit feature by ensuring the N-Region global committed GLSN header is parsed into StoreResult, and documents the feature addition in the Cosmos changelog.
Changes:
- Always parse
x-ms-cosmos-global-nregion-committed-glsnintoStoreResult(including for exception responses). - Add a changelog entry advertising N-Region synchronous commit support for the upcoming beta release.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/StoreReader.java | Parse and propagate the N-Region committed GLSN header into StoreResult for the exception path. |
| sdk/cosmos/azure-cosmos/CHANGELOG.md | Document N-Region synchronous commit support under the next unreleased beta version. |
...ure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/StoreReader.java
Show resolved
Hide resolved
kushagraThapar
approved these changes
Feb 12, 2026
Member
|
/check-enforcer override |
xinlian12
pushed a commit
to xinlian12/azure-sdk-for-java
that referenced
this pull request
Feb 18, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> [AutoPR azure-resourcemanager-managedops]-generated-from-SDK Generation - Java-5788711 (Azure#47788) * Configurations: 'specification/managedoperations/ManagedOps.Management/tspconfig.yaml', API Version: 2025-07-28-preview, SDK Release Type: beta, and CommitSHA: '83408dfe4894a9b5a5d3989023647bce792efc5f' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5788711 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Configurations: 'specification/managedoperations/ManagedOps.Management/tspconfig.yaml', API Version: 2025-07-28-preview, SDK Release Type: beta, and CommitSHA: 'ed16e10caee8ef2ab09f321272877d0efbec0d1e' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5863942 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Configurations: 'specification/managedoperations/ManagedOps.Management/tspconfig.yaml', API Version: 2025-07-28-preview, SDK Release Type: beta, and CommitSHA: '96e40a96feba1bb2bcabd7d1612feb71f94c49a8' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5877195 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Configurations: 'specification/managedoperations/ManagedOps.Management/tspconfig.yaml', API Version: 2025-07-28-preview, SDK Release Type: beta, and CommitSHA: '816b3edf3aeceb7929a5af05aea47e4a00bf6884' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5877312 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Update version_client.txt --------- Co-authored-by: wcas-ms <wcashman@microsoft.com> Co-authored-by: Weidong Xu <weidxu@microsoft.com> [Kafka connector]AddSupportForThroughputBucket (Azure#48009) * add support for throughput bucket in Kafka connector --------- Co-authored-by: Annie Liang <anniemac@Annies-MacBook-Pro.local> mgmt, trustedsigning, update to next preview (Azure#48016) - Adding nregion feature to changelog (Azure#47987) - Always parsing nregion header in storeresult Increment package versions for resources releases (Azure#48020) Remove extra blank line in BulkWriter.scala Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Apply suggestion from @xinlian12 Add fault injection tests for BulkOperationStatusTracker Add integration tests verifying status code tracking through retry paths: - TransactionalBulkExecutorTest: inject TOO_MANY_REQUEST with hitLimit(2), verify statusTracker records 429 with count=2 - CosmosBulkAsyncTest: inject TOO_MANY_REQUEST for non-transactional bulk, verify ItemBulkOperation statusTracker records 429 status codes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Add CHANGELOG entries for status code history in stale progress logs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> add more tests and update changelog add attempt number in BulkOperationFailedException
jeet1995
pushed a commit
to jeet1995/azure-sdk-for-java
that referenced
this pull request
Feb 23, 2026
- Always parsing nregion header in storeresult
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR does the following:
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines