Project

General

Profile

Feature #40983

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

Added by Lars Marowsky-Brée over 1 year ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Normal
Category:
dashboard/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

Related to RADOS - Documentation #41004: doc: pg_num should always be a power of two Resolved 07/30/2019
Related to RADOS - Feature #41647: pg_autoscaler should show a warning if pg_num isn't a power of two Resolved

History

#1 Updated by Tatjana Dehler over 1 year 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

#2 Updated by Sebastian Wagner over 1 year ago

#3 Updated by Ricardo Marques over 1 year ago

  • Target version set to v15.0.0

#4 Updated by Stephan Müller over 1 year ago

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

#5 Updated by Stephan Müller over 1 year 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.

#6 Updated by Lenz Grimmer about 1 year ago

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

Also available in: Atom PDF