Skip to content
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

Fixed routing map provider NPE #42874

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

kushagraThapar
Copy link
Member

@kushagraThapar kushagraThapar commented Nov 11, 2024

  • Fixed routing map provider NPE
  • RxPartitionKeyRangeCache#tryGetOverlappingRangesAsync() can return Utils.ValueHolder with null value. This is checked everywhere else, except in this case, where it is throwing NPE.
  • Added new Config to disable loading Azure VM metadata
  • Added new connect timeout, max connection pool size and network request timeout for loading Azure VM metadata calls
  • Improved Diagnostics to include ConnectTimeout
  • This PR also refactors the http configurations coming from Configs.java class into ReactorNettyClient.java and other implementation classes.
  • The aim is to make it easier to override HttpClient using HttpClientConfigs by calling the existing fluent pattern to configure the httpClient as we would like in different implementation layers.
  • Additional tests added for HttpClient, RoutingMapProvider fix and loading Azure VM metadata.
  • Removed storing state as Configs.java from HttpTransportClient

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

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!

@kushagraThapar
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

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.

4 participants