This is an automated email from the ASF dual-hosted git repository.
vogievetsky pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 59415ba9b2 Web console: expose new coordinator properties in the
dialog (#14791)
59415ba9b2 is described below
commit 59415ba9b2b5e3b465f436ea008ce50300fea6f6
Author: Vadim Ogievetsky <[email protected]>
AuthorDate: Thu Aug 17 15:37:23 2023 -0700
Web console: expose new coordinator properties in the dialog (#14791)
* expose new coordinator properties in the dialog
* escape
---
.../coordinator-dynamic-config.mock.ts | 2 ++
.../coordinator-dynamic-config.tsx | 28 ++++++++++++++++++++++
2 files changed, 30 insertions(+)
diff --git
a/web-console/src/druid-models/coordinator-dynamic-config/coordinator-dynamic-config.mock.ts
b/web-console/src/druid-models/coordinator-dynamic-config/coordinator-dynamic-config.mock.ts
index 015a5c8b59..1951359a76 100644
---
a/web-console/src/druid-models/coordinator-dynamic-config/coordinator-dynamic-config.mock.ts
+++
b/web-console/src/druid-models/coordinator-dynamic-config/coordinator-dynamic-config.mock.ts
@@ -27,6 +27,8 @@ export const DEFAULT_COORDINATOR_DYNAMIC_CONFIG:
CoordinatorDynamicConfig = {
replicationThrottleLimit: 500,
balancerComputeThreads: 1,
killDataSourceWhitelist: [],
+ killTaskSlotRatio: 1,
+ maxKillTaskSlots: 2147483647,
killPendingSegmentsSkipList: [],
maxSegmentsInNodeLoadingQueue: 500,
decommissioningNodes: [],
diff --git
a/web-console/src/druid-models/coordinator-dynamic-config/coordinator-dynamic-config.tsx
b/web-console/src/druid-models/coordinator-dynamic-config/coordinator-dynamic-config.tsx
index 04af80cd13..e5865949a8 100644
---
a/web-console/src/druid-models/coordinator-dynamic-config/coordinator-dynamic-config.tsx
+++
b/web-console/src/druid-models/coordinator-dynamic-config/coordinator-dynamic-config.tsx
@@ -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'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's
auto kill duty, which is
+ enabled when <Code>druid.coordinator.kill.on</Code> is true.
+ </>
+ ),
+ min: 1,
+ },
{
name: 'balancerComputeThreads',
type: 'number',
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]