Skip to content

Commit

Permalink
Fixed review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Vijayan Balasubramanian <[email protected]>
  • Loading branch information
VijayanB committed Apr 19, 2024
1 parent f7eb800 commit 9f46928
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions osbenchmark/worker_coordinator/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,9 +691,8 @@ async def __call__(self, opensearch, params):
if max_num_segments:
merge_params["max_num_segments"] = max_num_segments
if mode == "polling":
if params.get(self.PARAM_WAIT_FOR_COMPLETION):
self.logger.warning(
"%s is set for polling. It will be updated to false", self.PARAM_WAIT_FOR_COMPLETION)
self.logger.warning(
"%s will be updated to false to run force merge in asynchronous way", self.PARAM_WAIT_FOR_COMPLETION)
merge_params[self.PARAM_WAIT_FOR_COMPLETION] = "false"
request_context_holder.on_client_request_start()
response_task = await opensearch.indices.forcemerge(**merge_params)
Expand Down

0 comments on commit 9f46928

Please sign in to comment.