Actions
Bug #63891
openmon/AuthMonitor: fix potential repeated global_id
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.
Updated by Radoslaw Zarzynski about 1 month ago
- Status changed from New to Fix Under Review
Bump up.
Updated by Min Shi about 1 month ago
cephfs client depend on global_id, and repeated global_id would result some inconsistent problem
Actions