Repository: ignite Updated Branches: refs/heads/master 3dc65eb65 -> 8b62cc844
IGNITE-9118 Web Console: Fixed issue with number inputs. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/8b62cc84 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/8b62cc84 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/8b62cc84 Branch: refs/heads/master Commit: 8b62cc8448090da06ed5496794d0f854c40098d4 Parents: 3dc65eb Author: Vasiliy Sisko <[email protected]> Authored: Mon Jul 30 17:09:48 2018 +0700 Committer: Alexey Kuznetsov <[email protected]> Committed: Mon Jul 30 17:09:48 2018 +0700 ---------------------------------------------------------------------- .../components/cluster-edit-form/templates/load-balancing.pug | 2 +- .../components/cluster-edit-form/templates/memory.pug | 2 +- .../components/cluster-edit-form/templates/swap.pug | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/8b62cc84/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/load-balancing.pug ---------------------------------------------------------------------- diff --git a/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/load-balancing.pug b/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/load-balancing.pug index f3b4dfe..20ea1f0 100644 --- a/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/load-balancing.pug +++ b/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/load-balancing.pug @@ -89,7 +89,7 @@ panel-collapsible(ng-form=form on-open=`ui.loadPanel('${form}')`) +checkbox('Use processors', '$item.Adaptive.loadProbe.CPU.useProcessors', '"loadBalancingAdaptiveCPUUseProcessors"', "divide each node's CPU load by the number of processors on that node") .details-row +number-min-max-step('Processor coefficient:', '$item.Adaptive.loadProbe.CPU.processorCoefficient', - '"loadBalancingAdaptiveCPUProcessorCoefficient"', 'true', '1', '0.001', '1', '0.05', 'Coefficient of every CPU') + '"loadBalancingAdaptiveCPUProcessorCoefficient"', 'true', '1', '0.001', '1', '0.001', 'Coefficient of every CPU') .panel-details(ng-show='$item.Adaptive.loadProbe.kind === "ProcessingTime"') .details-row +checkbox('Use average', '$item.Adaptive.loadProbe.ProcessingTime.useAverage', '"loadBalancingAdaptiveJobUseAverage"', 'Use average execution time vs. current') http://git-wip-us.apache.org/repos/asf/ignite/blob/8b62cc84/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/memory.pug ---------------------------------------------------------------------- diff --git a/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/memory.pug b/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/memory.pug index bc355d1..181ae45 100644 --- a/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/memory.pug +++ b/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/memory.pug @@ -158,7 +158,7 @@ panel-collapsible( </ul>') .pc-form-grid-col-30 +number-min-max-step('Eviction threshold:', '$item.evictionThreshold', '"MemoryPolicyEvictionThreshold"', - 'true', '0.9', '0.5', '0.999', '0.05', 'A threshold for memory pages eviction initiation') + 'true', '0.9', '0.5', '0.999', '0.001', 'A threshold for memory pages eviction initiation') .pc-form-grid-col-30 +sane-ignite-form-field-number({ label: 'Empty pages pool size:', http://git-wip-us.apache.org/repos/asf/ignite/blob/8b62cc84/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/swap.pug ---------------------------------------------------------------------- diff --git a/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/swap.pug b/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/swap.pug index ef73ab9..d314296 100644 --- a/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/swap.pug +++ b/modules/web-console/frontend/app/components/page-configure-advanced/components/cluster-edit-form/templates/swap.pug @@ -59,7 +59,7 @@ panel-collapsible( ) +form-field-feedback('"readStripesNumber"', 'powerOfTwo', 'Read stripe size must be positive and power of two') .pc-form-grid-col-30 - +number-min-max-step('Maximum sparsity:', `${fileSwapModel}.maximumSparsity`, '"maximumSparsity"', 'true', '0.5', '0', '0.999', '0.05', + +number-min-max-step('Maximum sparsity:', `${fileSwapModel}.maximumSparsity`, '"maximumSparsity"', 'true', '0.5', '0', '0.999', '0.001', 'This property defines maximum acceptable wasted file space to whole file size ratio<br/>\ When this ratio becomes higher than specified number compacting thread starts working') .pc-form-grid-col-30
