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

Also available in: Atom PDF