[SERVER-37422] Log balancer start and stop events in the actionlog Created: 02/Oct/18 Updated: 29/Oct/23 Resolved: 08/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics, Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1, 4.2.10 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Janna Golden |
| Resolution: | Fixed | Votes: | 4 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v4.2, v4.0, v3.6
|
||||||||||||||||||||
| Sprint: | Sharding 2019-07-15 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||
| Description |
|
Currently the balancer start and stop commands are not logged anywhere and because of this it is difficult to pinpoint the timings and the callers which changed the balancer state. It would be very useful if we logged balancer start and stop in the actionlog along with some additional information about the caller which did that. |
| Comments |
| Comment by Githook User [ 22/Aug/20 ] | |
|
Author: {'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}Message: (cherry picked from commit af041ce1457ddf7c9bf29a07bc1e995e4c47495f) | |
| Comment by Kaloian Manassiev [ 15/Jun/20 ] | |
|
Confirming that this logs both in config.actionlog and in the log file with this message. | |
| Comment by Nic Cottrell [ 14/Jun/20 ] | |
|
I see in the source code that this fix includes:
Does this log in both the actionlog and the log file for the config server? If not, is there a reason why not and can it be added? | |
| Comment by Githook User [ 08/Jul/19 ] | |
|
Author: {'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}Message: |