Project

General

Profile

Actions

Bug #9826

closed

ceph osd crush rule ls should use the pending crush, if any

Added by Loïc Dachary over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Monitor
Target version:
-
% Done:

80%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The following is racy:

ceph osd crush rule create-simple ...
ceph osd crush rule ls

because osd crush rule ls does not use the pending crushmap. If the
machine is fast enough the second command will run before paxos has time
to propose and incorrectly claim the rule does not exist.


Related issues 1 (0 open1 closed)

Related to Ceph - Bug #9858: osd crush rule create-erasure idempotency failureRejectedLoïc Dachary10/21/2014

Actions
Actions

Also available in: Atom PDF