-
Notifications
You must be signed in to change notification settings - Fork 89
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
[da-vinci][dvc] Flag enablement for automatic subscription of partitions #1332
Open
kristyelee
wants to merge
35
commits into
linkedin:main
Choose a base branch
from
kristyelee:kristy_lee/650_davinci
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+226
−10
Conversation
This file contains 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
kristyelee
commented
Nov 26, 2024
clients/da-vinci-client/src/main/java/com/linkedin/davinci/StoreBackend.java
Outdated
Show resolved
Hide resolved
kvargha
reviewed
Dec 4, 2024
clients/da-vinci-client/src/main/java/com/linkedin/davinci/DaVinciBackend.java
Outdated
Show resolved
Hide resolved
kristyelee
force-pushed
the
kristy_lee/650_davinci
branch
from
December 5, 2024 01:08
2055b04
to
52a557c
Compare
kristyelee
force-pushed
the
kristy_lee/650_davinci
branch
from
December 9, 2024 18:32
b94b49a
to
262bbc6
Compare
…iption. Enabled config flag over bootstrap subscription
…iption. Enabled config flag over bootstrap subscription
kvargha
reviewed
Dec 10, 2024
clients/da-vinci-client/src/main/java/com/linkedin/davinci/DaVinciBackend.java
Outdated
Show resolved
Hide resolved
internal/venice-common/src/main/java/com/linkedin/venice/ConfigKeys.java
Outdated
Show resolved
Hide resolved
kristyelee
force-pushed
the
kristy_lee/650_davinci
branch
from
December 10, 2024 23:45
a163e56
to
9dbffc9
Compare
…cally. Integration Test [In Writing]
kristyelee
force-pushed
the
kristy_lee/650_davinci
branch
from
December 11, 2024 00:59
9dbffc9
to
fd9fa02
Compare
…cally. Integration Test [In Writing]
kvargha
reviewed
Dec 13, 2024
...ice-test-common/src/integrationTest/java/com/linkedin/venice/endToEnd/DaVinciClientTest.java
Outdated
Show resolved
Hide resolved
…cally. Integration Test [In Writing]
…cally. Integration Test [In Writing]
ZacAttack
reviewed
Dec 16, 2024
clients/da-vinci-client/src/main/java/com/linkedin/davinci/client/AvroGenericDaVinciClient.java
Show resolved
Hide resolved
ZacAttack
reviewed
Dec 16, 2024
clients/da-vinci-client/src/main/java/com/linkedin/davinci/DaVinciBackend.java
Show resolved
Hide resolved
ZacAttack
reviewed
Dec 16, 2024
...ice-test-common/src/integrationTest/java/com/linkedin/venice/endToEnd/DaVinciClientTest.java
Outdated
Show resolved
Hide resolved
ZacAttack
reviewed
Dec 16, 2024
...ice-test-common/src/integrationTest/java/com/linkedin/venice/endToEnd/DaVinciClientTest.java
Show resolved
Hide resolved
…cally. Integration Test [In Writing]
kvargha
reviewed
Jan 8, 2025
...ice-test-common/src/integrationTest/java/com/linkedin/venice/endToEnd/DaVinciClientTest.java
Outdated
Show resolved
Hide resolved
kvargha
reviewed
Jan 8, 2025
...ice-test-common/src/integrationTest/java/com/linkedin/venice/endToEnd/DaVinciClientTest.java
Outdated
Show resolved
Hide resolved
…ally. Integration Test [In Writing]
…ally. Integration Test [In Writing]
kristyelee
force-pushed
the
kristy_lee/650_davinci
branch
from
January 12, 2025 20:29
893a23c
to
7ba15f0
Compare
…cally. Include integration test for testing config flag and subscription set.
kristyelee
changed the title
[da-vinci][dvc] Dropping unassigned partitions
[da-vinci][dvc] Flag enablement for automatic subscription of partitions
Jan 13, 2025
…cally. Included integration test and writing of unit test.
…pdated with integration test and unit test.
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.
Summary, imperative, start upper case, don't end with a period
In this PR, to make sure the correct partitions are subscribed/added to the subscription set in processes of Da Vinci Client, a code change is introduced to include a flag (
DA_VINCI_SUBSCRIBE_ON_DISK_PARTITIONS_AUTOMATICALLY
) for enabling/confirming automatic subscription of on-disk partitions. This flag is added to the config map in the VeniceConfigLoader. Flag value is checked during bootstrapping in DaVinciBackend in case automatic subscription is not wanted, so that subscription occurs correctly.Applying this issue to Da Vinci Client which has information over partitions in storage.
This PR is an extension of the PR #1196 [https://github.com//pull/1196] that checks which partitions should be kept [in
StorageService
] and applies the check inVeniceServer
.Resolves #650
How was this PR tested?
A corresponding test will be written.
EDIT: A corresponding integration test has been written.
Does this PR introduce any user-facing changes?