Add missing coordinator dynamic config to the web-console dialog for dynamic coordinator config (#10545)

* Add missing coordinator dynamic config to the web-console dialog for dynamic coordinator config

* update jest snapshots after making console change
This commit is contained in:
Lucas Capistrant 2020-11-09 13:00:52 -06:00 committed by GitHub
parent 6c8a77b7a9
commit 83667172ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View File

@ -165,6 +165,14 @@ exports[`coordinator dynamic config matches snapshot 1`] = `
"name": "decommissioningMaxPercentOfMaxSegmentsToMove",
"type": "number",
},
Object {
"defaultValue": false,
"info": <React.Fragment>
Boolean flag for whether or not the coordinator should execute its various duties of coordinating the cluster. Setting this to true essentially pauses all coordination work while allowing the API to remain up.
</React.Fragment>,
"name": "pauseCoordination",
"type": "boolean",
},
]
}
model={Object {}}

View File

@ -264,6 +264,18 @@ export const CoordinatorDynamicConfigDialog = React.memo(function CoordinatorDyn
</>
),
},
{
name: 'pauseCoordination',
type: 'boolean',
defaultValue: false,
info: (
<>
Boolean flag for whether or not the coordinator should execute its various duties of
coordinating the cluster. Setting this to true essentially pauses all coordination
work while allowing the API to remain up.
</>
),
},
]}
model={dynamicConfig}
onChange={m => setDynamicConfig(m)}