Skip to content

Commit f5bdf7b

Browse files
committed
adding a comment
1 parent cc19fbd commit f5bdf7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/data-streams/src/main/java/org/elasticsearch/datastreams/action/TransportUpdateDataStreamSettingsAction.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ private void updateSettingsOnSingleIndex(
322322
return;
323323
}
324324
if (dryRun) {
325+
/*
326+
* This is as far as we go with dry run mode. We get the benefit of having checked that all the indices that will be touced
327+
* are not blocked, but there is no value in going behond this. So just respond to the listener and move on.
328+
*/
325329
listener.onResponse(null);
326330
} else {
327331
updateSettingsService.updateSettings(

0 commit comments

Comments
 (0)