Commit 2d0842e
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
messages. 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 b507c32 commit 2d0842e
File tree
2 files changed
+58
-1
lines changed- test/storage-luatest
- vshard/storage
2 files changed
+58
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
126 | 151 | | |
127 | 152 | | |
128 | 153 | | |
| |||
213 | 238 | | |
214 | 239 | | |
215 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 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