Project

General

Profile

Actions

Bug #44862

closed

mon: reset min_size when changing pool size

Added by Josh Durgin about 4 years ago. Updated over 3 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 3 (0 open3 closed)

Copied to RADOS - Backport #45038: mimic: mon: reset min_size when changing pool sizeRejectedNathan CutlerActions
Copied to RADOS - Backport #45039: octopus: mon: reset min_size when changing pool sizeResolvedNathan CutlerActions
Copied to RADOS - Backport #45040: nautilus: mon: reset min_size when changing pool sizeResolvedNathan CutlerActions
Actions #1

Updated by Josh Durgin about 4 years ago

  • Tags set to low-hanging-fruit
Actions #2

Updated by Deepika Upadhyay about 4 years ago

  • Assignee set to Deepika Upadhyay
Actions #3

Updated by Deepika Upadhyay about 4 years ago

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

Updated by Kefu Chai about 4 years ago

  • Status changed from In Progress to Pending Backport
Actions #5

Updated by Nathan Cutler about 4 years ago

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

Updated by Nathan Cutler about 4 years ago

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

Updated by Nathan Cutler about 4 years ago

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

Updated by Deepika Upadhyay over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF