Skip to content

Commit

Permalink
[dvc] Config flag enabled for subscribing on disk partitions automati…
Browse files Browse the repository at this point in the history
…cally. Integration Test [In Writing]
  • Loading branch information
kristyelee committed Dec 12, 2024
1 parent fd9fa02 commit 69d619a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -477,10 +477,6 @@ private synchronized void bootstrap() {
AbstractStorageEngine storageEngine = storageService.getStorageEngine(versionTopic);
aggVersionedStorageEngineStats.setStorageEngine(versionTopic, storageEngine);
StoreBackend storeBackend = getStoreOrThrow(storeName);
ComplementSet<Integer> subscription = ComplementSet.newSet(storeBackend.getSubscription());
ComplementSet<Integer> unassignedPartitionSet = ComplementSet.newSet(storageEngine.getPersistedPartitionIds());
unassignedPartitionSet.removeAll(subscription);
storeBackend.unsubscribe(unassignedPartitionSet);
storeBackend.subscribe(ComplementSet.newSet(partitions), Optional.of(version));
});
}
Expand Down

0 comments on commit 69d619a

Please sign in to comment.