]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: calculate min_size on osd pool set size
authorDeepika Upadhyay <dupadhya@redhat.com>
Wed, 1 Apr 2020 09:22:03 +0000 (14:52 +0530)
committerNathan Cutler <ncutler@suse.com>
Thu, 16 Apr 2020 08:30:39 +0000 (10:30 +0200)
commita95a070c3c8e9b7505a763b4439eb60fc35dac72
treed03b4466e7d64957faeaffb9ca75cc9033af4f03
parent4e96292b8a46ed31be71a4327c9f423612217649
mon: calculate min_size on osd pool set size

currently `osd pool set size` only modifies min_size when it is above new size,
while it should be recalculated unconditionally.

fixes: https://tracker.ceph.com/issues/44862
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
(cherry picked from commit b69dcaa18cc30d3091630606b981290c91091ce5)
src/mon/OSDMonitor.cc