Commit f5c25f7
committed
rebalancer: reduce spam of "Some buckets are not active" logs
Before this patch "Some buckets are not active ..." logs were printed every
`REBALANCER_WORK_INTERVAL` seconds, flooding the log file with redundant
messages. Also these records were lacking of information about replicaset
that has non-active buckets during rebalancing. This patch fixes the issue
by limiting this log frequency and adding information about replicaset's id
and rebalancer's retry time to log messages.
Closes #212
NO_DOC=bugfix1 parent 1da893d commit f5c25f7
File tree
3 files changed
+55
-1
lines changed- test/storage-luatest
- vshard/storage
3 files changed
+55
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
119 | 134 | | |
120 | 135 | | |
121 | 136 | | |
| |||
133 | 148 | | |
134 | 149 | | |
135 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
136 | 155 | | |
137 | 156 | | |
138 | 157 | | |
| |||
199 | 218 | | |
200 | 219 | | |
201 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
236 | 239 | | |
237 | 240 | | |
238 | 241 | | |
| |||
2795 | 2798 | | |
2796 | 2799 | | |
2797 | 2800 | | |
| 2801 | + | |
| 2802 | + | |
| 2803 | + | |
| 2804 | + | |
| 2805 | + | |
| 2806 | + | |
2798 | 2807 | | |
2799 | 2808 | | |
2800 | 2809 | | |
| |||
2806 | 2815 | | |
2807 | 2816 | | |
2808 | 2817 | | |
| 2818 | + | |
2809 | 2819 | | |
2810 | 2820 | | |
2811 | 2821 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
0 commit comments