Skip to content

Commit

Permalink
Release latch listeners in case of no-op RoutingTableService
Browse files Browse the repository at this point in the history
Signed-off-by: Shivansh Arora <[email protected]>
  • Loading branch information
shiv0408 committed Sep 3, 2024
1 parent 82762d4 commit cc815d4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void getAsyncIndexRoutingWriteAction(
IndexRoutingTable indexRouting,
LatchedActionListener<ClusterMetadataManifest.UploadedMetadata> latchedActionListener
) {
// noop
latchedActionListener.onResponse(null);
}

@Override
Expand All @@ -54,7 +54,7 @@ public void getAsyncIndexRoutingDiffWriteAction(
StringKeyDiffProvider<IndexRoutingTable> routingTableDiff,
LatchedActionListener<ClusterMetadataManifest.UploadedMetadata> latchedActionListener
) {
// noop
latchedActionListener.onResponse(null);
}

@Override
Expand All @@ -73,7 +73,7 @@ public void getAsyncIndexRoutingReadAction(
String uploadedFilename,
LatchedActionListener<IndexRoutingTable> latchedActionListener
) {
// noop
latchedActionListener.onResponse(null);
}

@Override
Expand All @@ -82,7 +82,7 @@ public void getAsyncIndexRoutingTableDiffReadAction(
String uploadedFilename,
LatchedActionListener<Diff<RoutingTable>> latchedActionListener
) {
// noop
latchedActionListener.onResponse(null);
}

@Override
Expand Down

0 comments on commit cc815d4

Please sign in to comment.