Project

General

Profile

Feature #40983

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

Added by Lars Marowsky-Brée 3 months ago. Updated 3 months ago.

Status:
Rejected
Priority:
Normal
Category:
dashboard/pools
Target version:
Start date:
07/26/2019
Due date:
% 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 Pending Backport 09/04/2019

History

#1 Updated by Tatjana Dehler 3 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 3 months ago

#3 Updated by Ricardo Marques 3 months ago

  • Target version set to v15.0.0

#4 Updated by Stephan Müller 3 months ago

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

#5 Updated by Stephan Müller 3 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 about 2 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