Project

General

Profile

Actions

Bug #4821

closed

monitor: actually setting an exclusive in _pick_random_mon would break things

Added by Greg Farnum about 11 years ago. Updated about 11 years ago.

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

0%

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

Description

  if (other >= 0 && n >= other)
    n++;

Is that supposed to be an equality instead of a greater-than-or-equals check? I can't make sense of it as it stands.

Actions

Also available in: Atom PDF