Skip to content

Use RouterBasedStoreMetadataFetcher for Venice store discovery#228

Merged
srnand merged 3 commits into
mainfrom
srnand/may20_26/UseVeniceStoreMetadataFetcher
May 28, 2026
Merged

Use RouterBasedStoreMetadataFetcher for Venice store discovery#228
srnand merged 3 commits into
mainfrom
srnand/may20_26/UseVeniceStoreMetadataFetcher

Conversation

@srnand
Copy link
Copy Markdown
Collaborator

@srnand srnand commented May 21, 2026

Summary

  • Switched Venice JDBC store discovery from ControllerClient based, cluster-by-cluster listing to RouterBasedStoreMetadataFetcher (single router /stores call).
  • This PR takes the approach over the OSS HTTP/HTTPS route, which is the only transport available in non-D2 deployments.
  • Bumps venice-common and venice-thin-client to 0.4.858, which is the first version exposing RouterBasedStoreMetadataFetcher.

Tests

  • Added UTs.

@srnand srnand requested a review from jogrogan May 21, 2026 01:02
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2026

Code Coverage

Overall Project 84.4% -0.08% 🟢
Files changed 77.42% 🟢

File Coverage
ClusterSchema.java 86.22% -13.78% 🟢

Copy link
Copy Markdown
Collaborator

@ryannedolan ryannedolan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Avoids store-name collision with logical-ddl.id, which also creates and
drops LOGICAL.testevent. Venice 0.4.858 enforces a 6-hour graveyard
cooldown between deleting a store and recreating one with the same name,
so whichever Quidem test runs second was failing with HTTP 500
"Store 'testevent' was recently deleted and cannot be recreated yet".
@srnand srnand force-pushed the srnand/may20_26/UseVeniceStoreMetadataFetcher branch from 3b8b1da to 3c6c2ee Compare May 28, 2026 16:50
@srnand srnand merged commit 67b3584 into main May 28, 2026
1 check passed
@srnand srnand deleted the srnand/may20_26/UseVeniceStoreMetadataFetcher branch May 28, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants