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:
parent
663a52ad55
commit
d15cad4afb
|
@ -66,7 +66,7 @@ public class DiskThresholdMonitor extends AbstractComponent {
|
||||||
private void warnAboutDiskIfNeeded(DiskUsage usage) {
|
private void warnAboutDiskIfNeeded(DiskUsage usage) {
|
||||||
// Check absolute disk values
|
// Check absolute disk values
|
||||||
if (usage.getFreeBytes() < diskThresholdSettings.getFreeBytesThresholdFloodStage().getBytes()) {
|
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);
|
diskThresholdSettings.getFreeBytesThresholdFloodStage(), usage);
|
||||||
} else if (usage.getFreeBytes() < diskThresholdSettings.getFreeBytesThresholdHigh().getBytes()) {
|
} else if (usage.getFreeBytes() < diskThresholdSettings.getFreeBytesThresholdHigh().getBytes()) {
|
||||||
logger.warn("high disk watermark [{}] exceeded on {}, shards will be relocated away from this node",
|
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
|
// Check percentage disk values
|
||||||
if (usage.getFreeDiskAsPercentage() < diskThresholdSettings.getFreeDiskThresholdFloodStage()) {
|
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);
|
Strings.format1Decimals(100.0 - diskThresholdSettings.getFreeDiskThresholdFloodStage(), "%"), usage);
|
||||||
} else if (usage.getFreeDiskAsPercentage() < diskThresholdSettings.getFreeDiskThresholdHigh()) {
|
} else if (usage.getFreeDiskAsPercentage() < diskThresholdSettings.getFreeDiskThresholdHigh()) {
|
||||||
logger.warn("high disk watermark [{}] exceeded on {}, shards will be relocated away from this node",
|
logger.warn("high disk watermark [{}] exceeded on {}, shards will be relocated away from this node",
|
||||||
|
|
Loading…
Reference in New Issue