-
Notifications
You must be signed in to change notification settings - Fork 63
Add support for specifying default Direct TCP options using System properties #299
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
Conversation
…Protocol, -Dazure.cosmos.directModeProtocol (for compatability with v4) and the environment variable DIRECT_MODE_PROTOCOL (which is sometimes convenient in test environments)
…bdTransportClient can now load default direct tcp options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need to change documentDataFieldSize ReadMyWritesConsistencyTest?
If the intention is to test with different test size and measure the latency, ReadMyWrites or ReadThroughput should be used as a command line tool manually.
The purpose of ReadMyWritesConsistencyTest is not for this. Please use ReadMyWrites as a command line too.
…sistencyTest and fixed a test break.
...main/java/com/microsoft/azure/cosmosdb/internal/directconnectivity/RntbdTransportClient.java
Show resolved
Hide resolved
…cted failures and renamed a mvn version property for clarity.
...main/java/com/microsoft/azure/cosmosdb/internal/directconnectivity/RntbdTransportClient.java
Outdated
Show resolved
Hide resolved
...main/java/com/microsoft/azure/cosmosdb/internal/directconnectivity/RntbdTransportClient.java
Outdated
Show resolved
Hide resolved
...main/java/com/microsoft/azure/cosmosdb/internal/directconnectivity/RntbdTransportClient.java
Outdated
Show resolved
Hide resolved
moderakh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a few more minor comments on the last iterations. Please take a look at the last comments. Other than that lgtm. Signing off.
…r use by RntbdRequestTimer and renamed long times with unit suffix (e.g., InNanos for nanosecond values and InMillis for millisecond values)
See #298. Also:
-Dcosmos.directModeProtocolthe current mechanism
-Dazure.cosmos.directModeProtoclfor consistency with v4 and azure sdk guidelines
DIRECT_MODE_PROTOCOLenvironment variablefor consistency with other settings that we vary in CI test runs.