Project

General

Profile

Actions

Bug #63891

open

mon/AuthMonitor: fix potential repeated global_id

Added by Min Shi 4 months ago. Updated 26 days ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

When we expand or shrink monitors, there is the possibility of repeatedly allocating global ids. Because the calculation of last_allocated_id depends on mon_num and mon_rank, and expand or shrink monitors changes mon_num and mon_rank. A simple fix is to reset last_allocated_id when the election is complete.

Actions #1

Updated by Min Shi about 2 months ago

does anyone see this issue?

Actions #2

Updated by Radoslaw Zarzynski about 1 month ago

  • Status changed from New to Fix Under Review

Bump up.

Actions #3

Updated by Min Shi about 1 month ago

cephfs client depend on global_id, and repeated global_id would result some inconsistent problem

Actions #4

Updated by Radoslaw Zarzynski 26 days ago

Bump up.

Actions

Also available in: Atom PDF