Grammar matters..
Update `all indices on this node will marked read-only` to `all indices on this node will be marked read-only`
@@ -66,7 +66,7 @@ public class DiskThresholdMonitor extends AbstractComponent {
private void warnAboutDiskIfNeeded(DiskUsage usage) {
// Check absolute disk values
if (usage.getFreeBytes() < diskThresholdSettings.getFreeBytesThresholdFloodStage().getBytes()) {
- logger.warn("flood stage disk watermark [{}] exceeded on {}, all indices on this node will marked read-only",
+ logger.warn("flood stage disk watermark [{}] exceeded on {}, all indices on this node will be marked read-only",
diskThresholdSettings.getFreeBytesThresholdFloodStage(), usage);
} else if (usage.getFreeBytes() < diskThresholdSettings.getFreeBytesThresholdHigh().getBytes()) {
logger.warn("high disk watermark [{}] exceeded on {}, shards will be relocated away from this node",
@@ -78,7 +78,7 @@ public class DiskThresholdMonitor extends AbstractComponent {
// Check percentage disk values
if (usage.getFreeDiskAsPercentage() < diskThresholdSettings.getFreeDiskThresholdFloodStage()) {
- logger.warn("flood stage disk watermark [{}] exceeded on {}, all indices on this node will marked read-only",
+ logger.warn("flood stage disk watermark [{}] exceeded on {}, all indices on this node will be marked read-only",
Strings.format1Decimals(100.0 - diskThresholdSettings.getFreeDiskThresholdFloodStage(), "%"), usage);
} else if (usage.getFreeDiskAsPercentage() < diskThresholdSettings.getFreeDiskThresholdHigh()) {
logger.warn("high disk watermark [{}] exceeded on {}, shards will be relocated away from this node",
