Commit fc7a877
committed
rebalancer: reduce spam in logs
Before this patch "Some buckets are not active ..." logs were printed every
`REBALANCER_WORK_INTERVAL` seconds, flooding the log file with redundant
entries. Also these records were lacking of information about the current
replicaset. This patch fixes the issue by limiting this log frequency and
adding information about replicaset's id to log messages.
Part of #212
NO_DOC=bugfix1 parent 97965fb commit fc7a877
File tree
2 files changed
+33
-1
lines changed- test/storage-luatest
- vshard/storage
2 files changed
+33
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2823 | 2823 | | |
2824 | 2824 | | |
2825 | 2825 | | |
| 2826 | + | |
2826 | 2827 | | |
2827 | 2828 | | |
2828 | 2829 | | |
| |||
2844 | 2845 | | |
2845 | 2846 | | |
2846 | 2847 | | |
2847 | | - | |
| 2848 | + | |
| 2849 | + | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
2848 | 2855 | | |
2849 | 2856 | | |
2850 | 2857 | | |
| |||
2874 | 2881 | | |
2875 | 2882 | | |
2876 | 2883 | | |
| 2884 | + | |
2877 | 2885 | | |
2878 | 2886 | | |
2879 | 2887 | | |
| |||
2901 | 2909 | | |
2902 | 2910 | | |
2903 | 2911 | | |
| 2912 | + | |
2904 | 2913 | | |
2905 | 2914 | | |
2906 | 2915 | | |
| |||
0 commit comments