Skip to content

Commit

Permalink
Ignore low disk watermark
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia committed Aug 16, 2024
1 parent b2bc136 commit e9dd8da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public ClusterConfiguration(OpenSearchVersion version, Func<OpenSearchVersion, s
public bool CacheOpenSearchHomeInstallation { get; set; }

/// <summary>The node settings to apply to each started node</summary>
public NodeSettings DefaultNodeSettings { get; } = new NodeSettings();
public NodeSettings DefaultNodeSettings { get; } = new();

/// <summary>
/// Creates a node name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,11 @@ params OpenSearchPlugin[] plugins
Add(AttributeKey("testingcluster"), "true");
Add(AttributeKey("gateway"), "true");

Add($"script.disable_max_compilations_rate", "true");
Add("cluster.routing.allocation.disk.watermark.low", "100%");
Add("cluster.routing.allocation.disk.watermark.high", "100%");

Add($"script.allowed_types", "inline,stored");
Add("script.disable_max_compilations_rate", "true");
Add("script.allowed_types", "inline,stored");

AdditionalBeforeNodeStartedTasks.Add(new WriteAnalysisFiles());
}
Expand Down

0 comments on commit e9dd8da

Please sign in to comment.