Project

General

Profile

Actions

Bug #41406

open

common: SafeTimer reinit doesn't fix up "stopping" bool, used in MonClient bootstrap

Added by haitao chen over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
5 - suggestion
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
MonClient
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

1, New a object of SafeTimer().
2, call init.
3, call add_event_after.
4, call shutdown.
5, call init again.
6, call add_event_after again.
The event can't be added. Because the stopping is True.

I think it should set stopping to false in init function.


Files

选区_036.png (75.5 KB) 选区_036.png haitao chen, 08/23/2019 08:29 AM
stop.png (75.5 KB) stop.png haitao chen, 08/23/2019 08:29 AM
get_monmap_and_config.png (51.2 KB) get_monmap_and_config.png haitao chen, 08/27/2019 01:20 AM
Actions

Also available in: Atom PDF