Grammar matters.. (#29462)

Update `all indices on this node will marked read-only` to `all indices on this node will be marked read-only`
This commit is contained in:
Andrew Odendaal 2018-04-11 08:30:33 +01:00 committed by Adrien Grand
parent 663a52ad55
commit d15cad4afb
1 changed files with 2 additions and 2 deletions

View File

@ -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",