[SERVER-57639] Decrease the amount of logs emitted when closing a connection in v5.0 Created: 11/Jun/21 Updated: 29/Oct/23 Resolved: 25/Jun/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 5.0.0-rc1 |
| Fix Version/s: | 5.0.0-rc5, 5.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Blake Oler | Assignee: | Amirsaman Memaripour |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | 5.0-dogfooding, post-rc0, servicearch-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Backport Requested: |
v5.0
|
||||||||||||||||
| Sprint: | Service Arch 2021-06-28 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 135 | ||||||||||||||||
| Description |
|
Running any given set of repl/sharding jsTests on 4.4 and 5.0 has a difference in the amount of information-level logs emitted when a connection is closed. 4.4:
5.0:
This behavior can quickly swamp the log – in a given jsTest, I see an average of 200 connection ended logs (mostly due to the hello command*). On top of this, the server triage team has concerns that the "terminating session due to error" message will scare users who are trying to upgrade from 4.4 to 5.0 (HELP-25086). This ticket is aimed to suppress these extra logs if possible, and change them to debug level. *This was verified by adding printStackTrace to the lowest-level of these messages, and the vast majority of these messages were coming from a connection being closed while the recipient side of a hello command was waiting in ReplicationCoordinator::awaitHelloResponse |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 28/Jun/21 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: (cherry picked from commit ac2c0acc3934ae97b35c6ca5d9f72a360713bfe2) |
| Comment by Githook User [ 28/Jun/21 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: (cherry picked from commit 791a1f7ce673eb16b26c8bc95cc058f83c234dbc) |
| Comment by Githook User [ 28/Jun/21 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: (cherry picked from commit d48cea2e51ea038956f0476fcc9f6653025cd26e) |
| Comment by Githook User [ 25/Jun/21 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |
| Comment by Githook User [ 25/Jun/21 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |
| Comment by Githook User [ 25/Jun/21 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |