Web console: totalNumMergeTasks can be set on range also (#12648)

* totalNumMergeTasks can be set on range also

* fix formatting
This commit is contained in:
Vadim Ogievetsky 2022-06-14 11:18:17 -07:00 committed by GitHub
parent 68bae6eafb
commit 6f7fa334fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -250,7 +250,8 @@ export const COMPACTION_CONFIG_FIELDS: Field<CompactionConfig>[] = [
type: 'number',
defaultValue: 10,
min: 1,
defined: t => oneOf(deepGet(t, 'tuningConfig.partitionsSpec.type'), 'hashed', 'single_dim'),
defined: t =>
oneOf(deepGet(t, 'tuningConfig.partitionsSpec.type'), 'hashed', 'single_dim', 'range'),
info: <>Maximum number of merge tasks which can be run at the same time.</>,
},
{