github Azure/azure-sdk-for-java azure-cosmos_4.50.0

latest releases: azure-communication-identity_1.6.0, azure-communication-common_1.3.7, azure-resourcemanager-cosmos_2.43.0-beta.1...
11 months ago

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 in ChangeFeedProcessor. Setting CosmosEndToEndOperationLatencyPolicyConfig at CosmosClient level will not affect ChangeFeedProcessor 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 from byPage is not always being honored. This only happens when the same CosmosQueryRequestOptions being used through different requests, and different pageSize being used. See PR 36847
  • Fixed an issue where build of CosmosClient and CosmosAsyncClient 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

Other Changes

  • Handling negative end-to-end timeouts provided more gracefully by throwing a CosmsoException (OperationCancelledException) instead of IllegalArgumentException. - See PR 36507
  • Reverted preserve ordering in bulk mode(PR 35892). See PR 36638

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.