Commit f9efe0b
committed
mon/MgrStatMonitor.cc: do not update score when disabled
This commit adds changes to ensure the availability score
tracking is not updated when the feature is disabled. We
will preserve the score calculated before the feature is
turned off and start updating it again when the feature
is enabled.
Fixes: https://tracker.ceph.com/issues/71494
Signed-off-by: Shraddha Agrawal <[email protected]>
(cherry picked from commit 017c9b9)1 parent 431d732 commit f9efe0b
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14412 | 14412 | | |
14413 | 14413 | | |
14414 | 14414 | | |
14415 | | - | |
| 14415 | + | |
14416 | 14416 | | |
14417 | 14417 | | |
14418 | 14418 | | |
| |||
0 commit comments