Propagate path.repo in datanode for filesystem snapshots (#18369)

* Propagate path.repo in datanode for filesystem snapshots

* Added changelog
This commit is contained in:
Tomas Dvorak
2024-02-26 12:42:21 +01:00
committed by GitHub
parent 4a46e2b0d6
commit ebf84b988e
3 changed files with 19 additions and 0 deletions

View File

@@ -240,6 +240,12 @@ public class Configuration extends BaseConfiguration {
@Parameter(value = "metrics_policy")
private String metricsPolicy = "gl-datanode-metrics-ism";
/**
* https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore/#shared-file-system
*/
@Parameter(value = "path_repo", converter = StringListConverter.class)
private List<String> pathRepo;
@Parameter(value = "opensearch_indices_query_bool_max_clause_count")
private Integer indicesQueryBoolMaxClauseCount = 32768;
@@ -642,4 +648,7 @@ public class Configuration extends BaseConfiguration {
return rootPasswordSha2;
}
public List<String> getPathRepo() {
return pathRepo;
}
}