Skip to content

Conversation

tvaron3 and others added 8 commits October 10, 2025 16:10
(cherry picked from commit ebf4ee2)
…ntation/changefeed/pkversion/PartitionProcessorImpl.java

Co-authored-by: Copilot <[email protected]>
(cherry picked from commit 936ba7f)
…ntation/changefeed/pkversion/LeaseRenewerImpl.java

Co-authored-by: Copilot <[email protected]>
(cherry picked from commit 4011c17)
(cherry picked from commit 5098367)
* add metadata retry throttling policy

---------

Co-authored-by: annie-mac <[email protected]>
Co-authored-by: Fabian Meiswinkel <[email protected]>
Co-authored-by: Copilot <[email protected]>

(cherry picked from commit fe96d60)
* wireup the pkRange cache for cfp setartup

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: annie-mac <[email protected]>
Co-authored-by: Copilot <[email protected]>

(cherry picked from commit b58648d)
@jeet1995 jeet1995 marked this pull request as ready for review October 10, 2025 20:49
@jeet1995 jeet1995 requested review from a team and kirankumarkolli as code owners October 10, 2025 20:49
@jeet1995
Copy link
Member Author

/azp run java - cosmos - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

* Remove role assignment with a non-existent principal and temporarily skip SPN-based auth tests.

* Update azure-cosmos-kafka-connect v2.5.1 release notes.

* Update azure-cosmos-kafka-connect v2.5.1 release notes.

* Specify tracked issue to re-enable SPN-based tests.

* Specify tracked issue to re-enable SPN-based tests.

(cherry picked from commit 673340d)
@jeet1995
Copy link
Member Author

/azp run java - cosmos - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Thanks

jeet1995 and others added 2 commits October 13, 2025 12:14
* Install java 8 on macos-15

* Use if condition

* Use variables in condition

* Include 15+ macos version

* debug

* use custom location of java home

* remove check on java bin

* typo fix

* debug output files

* correct java bin path

* removed debug code

* Reverted build-and-test yml change

* Removed unused code

(cherry picked from commit 7f37faf)
@jeet1995
Copy link
Member Author

/azp run java - cosmos - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

* reduce partition planning stage

* defensive mechanism for leases

* remove testing changes

* react to comments

* fix and add more tests

* react to comments, revert empty lines, add more logs

* fix test

* fix tests

* fix tests

* removed noisy log

* add logs for exceptions

* add logs for exceptions

* Revert last two commits

---------

Co-authored-by: annie-mac <[email protected]>
Co-authored-by: Annie Liang <[email protected]>
@jeet1995
Copy link
Member Author

/azp run java - cosmos - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

jeet1995 and others added 2 commits October 14, 2025 16:17
* reduce partition planning stage

* defensive mechanism for leases

* remove testing changes

* react to comments

* fix and add more tests

* react to comments, revert empty lines, add more logs

* fix test

* fix tests

* fix tests

* removed noisy log

* add logs for exceptions

* add logs for exceptions

* Revert last two commits

---------

Co-authored-by: annie-mac <[email protected]>
Co-authored-by: Annie Liang <[email protected]>
@jeet1995
Copy link
Member Author

/azp run java - cosmos - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jeet1995
Copy link
Member Author

/azp run java - cosmos - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

…ker flow. (Azure#46968)

* Wrap as `CosmosException` when PPCB hits NPEs when trying to perform failover action.

* Updated CHANGELOG.md

* Updated CHANGELOG.md

* Fixing compilation errors.

* Perform PPCB failover for only server-generated 500s.

* Add unit tests.

* Adding tests.

* Only swallow unhandled exceptions in the PPCB flow.

* Addressing review comments.

* Addressing review comments.

* Addressing review comments.

* Addressing review comments.

(cherry picked from commit 3c5a1f4)
@jeet1995
Copy link
Member Author

/azp run java - cosmos - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

…ode requests. (Azure#47024)

* Prevent reducing network request timeout to less than 5s for TCP connections.

* Prevent reducing network request timeout to less than 5s for TCP connections.

* Updated CHANGELOG.md

* Fixing tests.

* Fixing tests.

* Fixing tests.

* Reset RESPONSE_DELAY duration.

(cherry picked from commit 0086bcb)
@jeet1995
Copy link
Member Author

/azp run java - cosmos - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -1,10 +1,27 @@
## Release History

### 4.71.2-hotfix (2025-10-15)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: update date ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can update dates after release is done - IMO nor worth re-running tests for

* Added API to allow customers to wrap/extend `CosmosAsyncContainer` - [PR 43724](https://github.com/Azure/azure-sdk-for-java/pull/43724) and [PR 45087](https://github.com/Azure/azure-sdk-for-java/pull/45087)
* Added Per-Partition Automatic Failover which enables failover for writes at per-partition level for Single-Write Multi-Region accounts. - [PR 44099](https://github.com/Azure/azure-sdk-for-java/pull/44099)
* Added Beta public API to allow defining the consistency behavior for read / query / change feed operations independent of the chosen account-level consistency level. **NOTE: This API is still in preview mode and can only be used when using DIRECT connection mode.** - See [PR 45161](https://github.com/Azure/azure-sdk-for-java/pull/45161)
* Added Weighted RRF for Hybrid and Full Text Search queries - [PR 45328](https://github.com/Azure/azure-sdk-for-java/pull/45328)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be included ina hotfix? Changes the public surface area by removing Beta tag?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind - only the changelog change slipped in - the actual change is not inlcuded. So, this changelog can be fixed afterwards in separate PR:

Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except for the PR that leaked in changing surface area (admittedly only removing Beta tag - but still - should not be part of a hotfix?)

Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jeet1995 jeet1995 merged commit ccbad4b into Azure:hotfix/jeet1995/azure-cosmos_4.71.2-hotfix Oct 16, 2025
90 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants