-
Notifications
You must be signed in to change notification settings - Fork 462
CDRIVER-4097 Implement srvMaxHosts for initial DNS seedlist and SRV polling #898
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
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
08755aa
Format mongoc-uri.c
eramongodb 29e1ec9
Permit zero hosts when validating SRV loadBalanced URI before DNS query
eramongodb 2a67283
Add URI parsing support for srvMaxHosts
eramongodb 1406b6f
Add URI Options spec tests for srvMaxHosts
eramongodb 9a8a7af
Format mongoc-host-list.c
eramongodb 82e32bb
Add const qualifier to _mongoc_host_list_length() parameters
eramongodb bec90ab
Add bounded uniform distributed random integer generators
eramongodb 388d71c
Format test-mongoc-dns.c
eramongodb e995831
Fix infinite loop in dump_hosts()
eramongodb 0480de8
Add support for limiting initial DNS seedlist per srvMaxHosts
eramongodb adf0c12
Add srvMaxHosts spec tests for Initial DNS Seedlist Discovery
eramongodb 976aaa5
Add support for limiting SRV record polling hosts per srvMaxHosts
eramongodb 2444d18
Add prose tests for SRV Polling
eramongodb 435e15d
Apply dependency inversion to SRV Polling prose tests
eramongodb 4da9b1c
Fix typo in spec comment
eramongodb efb7d29
Address typo in error message
eramongodb f3437fa
Add documentation of MONGOC_URI_SRVMAXHOSTS to mongoc_uri_t.rst
eramongodb 4dc8a42
Add documentation for _mongoc_apply_srv_max_hosts.
eramongodb f7b580e
Document reason for reuse of load-balancer skip condition
eramongodb 94bfcd5
Add postcondition assertion to mongoc_topology_description_reconcile
eramongodb fcedf2c
Fix max-range precondition assertions in random generators.
eramongodb bf3108b
Seed `rand()` in `_mongoc_simple_rand_*()` generators
eramongodb 0821af8
Permit paramerization of random generator used with distributions
eramongodb 4cd7085
Rename _prose_loadbalanced_ping to _prose_test_ping
eramongodb 710cd53
Avoid prose test ping given `loadBalancer=true`
eramongodb 72dce8d
Add missing `rand` parameter to 32-bit `_mongoc_rand_size_t`
eramongodb 88e7832
Fix return type of `_mongoc_simple_rand_size_t` declarations
eramongodb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.