Commit 017c9b9
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]>1 parent 9ccef70 commit 017c9b9
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 | |
|---|---|---|---|
| |||
14409 | 14409 | | |
14410 | 14410 | | |
14411 | 14411 | | |
14412 | | - | |
| 14412 | + | |
14413 | 14413 | | |
14414 | 14414 | | |
14415 | 14415 | | |
| |||
0 commit comments