Project

General

Profile

Feature #40983

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

Added by Lars Marowsky-Brée 11 months ago. Updated 11 months 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 11 months 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 11 months ago

#3 Updated by Ricardo Marques 11 months ago

  • Target version set to v15.0.0

#4 Updated by Stephan Müller 11 months ago

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

#5 Updated by Stephan Müller 11 months 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 10 months 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