Skip to content

Commit

Permalink
Return response after dropping an index.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii0lomakin committed Dec 6, 2023
1 parent e740697 commit 39064bf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1317,6 +1317,7 @@ public void dropIndex(IndexManagerOuterClass.IndexNameRequest request, StreamObs

indexMetadatas.remove(indexName);
indexStates.remove(indexName);
responseObserver.onNext(Empty.newBuilder().build());
responseObserver.onCompleted();
} catch (Exception e) {
indexStates.put(request.getIndexName(), IndexState.BROKEN);
Expand Down

0 comments on commit 39064bf

Please sign in to comment.