Repository navigation
Negotiate long polling for endpoint discovery automatically - #952
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #952 +/- ##
==========================================
+ Coverage 84.66% 84.81% +0.15%
==========================================
Files 102 102
Lines 14200 14262 +62
Branches 1499 1508 +9
==========================================
+ Hits 12022 12097 +75
+ Misses 1730 1722 -8
+ Partials 448 443 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
🌋 SLO Test Results🟢 6 workload(s) tested — All thresholds passed
Generated by ydb-slo-action |
vgvoleg
force-pushed
the
discovery-long-polling
branch
from
December 3, 2026 20:03
86b1bd6 to
e21f9dd
Compare
vgvoleg
enabled auto-merge (squash)
December 3, 2026 20:21
asmyasnikov
approved these changes
Dec 3, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The sync and asyncio drivers automatically use long polling when ListEndpoints returns a snapshot hash. They echo the hash to wait for topology changes and resume periodic discovery when the server returns an empty hash. A poll deadline preserves the current endpoints. A disconnect triggers a fresh request without a hash.
Update ydb-api-protos to #86 and regenerate the protobuf bindings for v3 through v6. The submodule update also includes the JSON and vector index definitions merged before the discovery change.