gaoran10 commented on code in PR #19730:
URL: https://github.com/apache/pulsar/pull/19730#discussion_r1131342993


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/store/TableViewLoadDataStoreImpl.java:
##########
@@ -61,30 +70,58 @@ public CompletableFuture<Void> removeAsync(String key) {
 
     @Override
     public Optional<T> get(String key) {
+        validateTableViewStart();

Review Comment:
   For TopKBundle tableView, it seems that if the check 
`validateTableViewStart` is failed, the UnloadScheduler will also fail to find 
bundles that are needed to unload, can we try to re-initialize the tableView in 
the method `validateTableViewStart`?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to