[SERVER-36227] Improve logging when awaitReplication hangs Created: 20/Jul/18 Updated: 29/Oct/23 Resolved: 20/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Samyukta Lanka | Assignee: | Samyukta Lanka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Repl 2018-08-13, Repl 2018-08-27 | ||||
| Participants: | |||||
| Linked BF Score: | 15 | ||||
| Description |
|
1. Add recovery component logging to more test suites so that we can see updates to the stable timestamp |
| Comments |
| Comment by Githook User [ 20/Aug/18 ] |
|
Author: {'name': 'Judah Schvimer', 'email': 'judah@mongodb.com', 'username': 'judahschvimer'}Message: |
| Comment by Judah Schvimer [ 17/Aug/18 ] |
|
One thought we'd talked about that is not reflected here is that any time that _awaitReplication_inlock fails (either through returning a bad status or by throwing) we should log the "Replication for failed WC" message, not just when it times out. Another thing that would be helpful is to log the earliest drop pending optime since we also wait on that to commit before returning from |
| Comment by Githook User [ 10/Aug/18 ] |
|
Author: {'name': 'Samy Lanka', 'email': 'samy.lanka@gmail.com', 'username': 'lankas'}Message: |
| Comment by Githook User [ 30/Jul/18 ] |
|
Author: {'name': 'Samy Lanka', 'email': 'samy.lanka@gmail.com', 'username': 'lankas'}Message: Revert " This reverts commit 018905518ca552775255f36a52e9fd187f9d61f8. |
| Comment by Githook User [ 30/Jul/18 ] |
|
Author: {'name': 'Samy Lanka', 'email': 'samy.lanka@gmail.com', 'username': 'lankas'}Message: |
| Comment by Githook User [ 27/Jul/18 ] |
|
Author: {'username': 'lankas', 'name': 'Samy Lanka', 'email': 'samy.lanka@gmail.com'}Message: |
| Comment by Tess Avitabile (Inactive) [ 26/Jul/18 ] |
|
Please work on this on Fridays (this means you might do less BF diagnosis, which is fine). |