4.50.0 (2023-09-25)
Features Added
- Added throughput control support for
gateway mode
. See PR 36687 - Added public API to change the initial micro batch size in
CosmosBulkExecutionOptions
. The micro batch size is dynamically adjusted based on throttling rate. By default, it starts with a relatively large micro batch size, which can result in a short spike of throttled requests at the beginning of a bulk execution - reducing the initial micro batch size - for example to 1 - will start with smaller batch size and then dynamically increase it without causing the initial short spike of throttled requests. See PR 36910
Bugs Fixed
- Disabled
CosmosEndToEndOperationLatencyPolicyConfig
feature inChangeFeedProcessor
. SettingCosmosEndToEndOperationLatencyPolicyConfig
atCosmosClient
level will not affectChangeFeedProcessor
requests in any way. See PR 36775 - Fixed staleness issue of
COSMOS.MIN_CONNECTION_POOL_SIZE_PER_ENDPOINT
system property - See PR 36599. - Fixed an issue where
pageSize
frombyPage
is not always being honored. This only happens when the sameCosmosQueryRequestOptions
being used through different requests, and different pageSize being used. See PR 36847 - Fixed an issue where build of
CosmosClient
andCosmosAsyncClient
was getting blocked for the entire aggressive warmup duration even when all the connections have been opened already. - See PR 36889 - Fixed
CosmosClient
connection warm up bug to open connections aggressively. - See PR 36889