Skip to content

Commit

Permalink
Avoid PartitionSelectorException during refresh #2178
Browse files Browse the repository at this point in the history
Original pull request: #2179.
Co-authored-by: Tadashi Yamasaki <[email protected]>
  • Loading branch information
tadashiya authored Oct 7, 2022
1 parent e5bc969 commit 0fc10d0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,8 @@ public void updateCache() {

synchronized (partitions) {

invalidateCache();

if (partitions.isEmpty()) {
invalidateCache();
return;
}

Expand Down

0 comments on commit 0fc10d0

Please sign in to comment.