Project

General

Profile

Actions

Feature #40983

closed

mgr/dashboard: Warn when setting pg_num to not-a-power-of-two

Added by Lars Marowsky-Brée over 4 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Stephan Müller
Category:
Component - Pools
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Setting pg_num to a value that is not a power of two can (and likely will) cause significant data imbalance in the cluster.

The Dashboard should warn and require confirmation before proceeding. (It may be necessary if the user were to manually go from 2^n to 2^n+1 incrementally, for example.)


Related issues 2 (0 open2 closed)

Related to RADOS - Documentation #41004: doc: pg_num should always be a power of twoResolved07/30/2019

Actions
Related to RADOS - Feature #41647: pg_autoscaler should show a warning if pg_num isn't a power of twoResolved

Actions
Actions #1

Updated by Tatjana Dehler over 4 years ago

  • Subject changed from Warn when setting pg_num to not-a-power-of-two to mgr/dashboard: Warn when setting pg_num to not-a-power-of-two
Actions #2

Updated by Sebastian Wagner over 4 years ago

Actions #3

Updated by Ricardo Marques over 4 years ago

  • Target version set to v15.0.0
Actions #4

Updated by Stephan Müller over 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Stephan Müller
Actions #5

Updated by Stephan Müller over 4 years ago

  • Status changed from In Progress to Rejected

Rejected as it's not possible to set a number that is not a power of two value.

Actions #6

Updated by Lenz Grimmer over 4 years ago

  • Related to Feature #41647: pg_autoscaler should show a warning if pg_num isn't a power of two added
Actions #7

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 137 to Component - Pools
Actions

Also available in: Atom PDF