Project

General

Profile

Bug #44862

mon: reset min_size when changing pool size

Added by Josh Durgin over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Tags:
low-hanging-fruit
Backport:
octopus, nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

See https://github.com/rook/rook/issues/5127

Currently 'ceph osd pool set size x' only changes min_size if it's above the new size.

It should recalculate the min_size unconditionally, using the same logic as when creating a pool.


Related issues

Copied to RADOS - Backport #45038: mimic: mon: reset min_size when changing pool size Rejected
Copied to RADOS - Backport #45039: octopus: mon: reset min_size when changing pool size Resolved
Copied to RADOS - Backport #45040: nautilus: mon: reset min_size when changing pool size Resolved

History

#1 Updated by Josh Durgin over 2 years ago

  • Tags set to low-hanging-fruit

#2 Updated by Deepika Upadhyay over 2 years ago

  • Assignee set to Deepika Upadhyay

#3 Updated by Deepika Upadhyay over 2 years ago

  • Status changed from New to In Progress
  • Pull request ID set to 34342

#4 Updated by Kefu Chai over 2 years ago

  • Status changed from In Progress to Pending Backport

#5 Updated by Nathan Cutler over 2 years ago

  • Copied to Backport #45038: mimic: mon: reset min_size when changing pool size added

#6 Updated by Nathan Cutler over 2 years ago

  • Copied to Backport #45039: octopus: mon: reset min_size when changing pool size added

#7 Updated by Nathan Cutler over 2 years ago

  • Copied to Backport #45040: nautilus: mon: reset min_size when changing pool size added

#8 Updated by Deepika Upadhyay over 2 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF