Web console: expose new coordinator properties in the dialog (#14791)

* expose new coordinator properties in the dialog

* escape
This commit is contained in:
Vadim Ogievetsky 2023-08-17 15:37:23 -07:00 committed by GitHub
parent 37db5d9b81
commit 59415ba9b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -27,6 +27,8 @@ export const DEFAULT_COORDINATOR_DYNAMIC_CONFIG: CoordinatorDynamicConfig = {
replicationThrottleLimit: 500,
balancerComputeThreads: 1,
killDataSourceWhitelist: [],
killTaskSlotRatio: 1,
maxKillTaskSlots: 2147483647,
killPendingSegmentsSkipList: [],
maxSegmentsInNodeLoadingQueue: 500,
decommissioningNodes: [],

View File

@ -28,6 +28,8 @@ export interface CoordinatorDynamicConfig {
balancerComputeThreads?: number;
killAllDataSources?: boolean;
killDataSourceWhitelist?: string[];
killTaskSlotRatio?: number;
maxKillTaskSlots?: number;
killPendingSegmentsSkipList?: string[];
maxSegmentsInNodeLoadingQueue?: number;
mergeBytesLimit?: number;
@ -229,6 +231,32 @@ export const COORDINATOR_DYNAMIC_CONFIG_FIELDS: Field<CoordinatorDynamicConfig>[
</>
),
},
{
name: 'killTaskSlotRatio',
type: 'ratio',
defaultValue: 1,
info: (
<>
Ratio of total available task slots, including autoscaling if applicable that will be
allowed for kill tasks. This limit only applies for kill tasks that are spawned
automatically by the Coordinator&apos;s auto kill duty, which is enabled when
<Code>druid.coordinator.kill.on</Code> is true.
</>
),
},
{
name: 'maxKillTaskSlots',
type: 'number',
defaultValue: 2147483647,
info: (
<>
Maximum number of tasks that will be allowed for kill tasks. This limit only applies for
kill tasks that are spawned automatically by the Coordinator&apos;s auto kill duty, which is
enabled when <Code>druid.coordinator.kill.on</Code> is true.
</>
),
min: 1,
},
{
name: 'balancerComputeThreads',
type: 'number',