Skip to content

Commit

Permalink
Change setting keys to remove index scope.
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Handalian <handalm@amazon.com>
  • Loading branch information
mch2 committed Mar 14, 2023
1 parent c9e630a commit 33198a1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,29 +39,29 @@ public class SegmentReplicationPressureService {
private static final Logger logger = LogManager.getLogger(SegmentReplicationPressureService.class);

public static final Setting<Boolean> SEGMENT_REPLICATION_INDEXING_PRESSURE_ENABLED = Setting.boolSetting(
"index.segrep.pressure.enabled",
"segrep.pressure.enabled",
false,
Setting.Property.Dynamic,
Setting.Property.NodeScope
);

public static final Setting<Integer> MAX_INDEXING_CHECKPOINTS = Setting.intSetting(
"index.segrep.pressure.checkpoint.limit",
"segrep.pressure.checkpoint.limit",
4,
1,
Setting.Property.Dynamic,
Setting.Property.NodeScope
);

public static final Setting<TimeValue> MAX_REPLICATION_TIME_SETTING = Setting.positiveTimeSetting(
"index.segrep.pressure.time.limit",
"segrep.pressure.time.limit",
TimeValue.timeValueMinutes(5),
Setting.Property.Dynamic,
Setting.Property.NodeScope
);

public static final Setting<Double> MAX_ALLOWED_STALE_SHARDS = Setting.doubleSetting(
"index.segrep.replica.stale.limit",
"segrep.pressure.replica.stale.limit",
.5,
0,
1,
Expand Down

0 comments on commit 33198a1

Please sign in to comment.