[SERVER-82027] Repeated Restarting of Mongos Processes in Sharded Cluster Created: 10/Oct/23 Updated: 16/Oct/23 Resolved: 16/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.2.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Yutao Huang | Assignee: | Noopur Gupta |
| Resolution: | Done | Votes: | 0 |
| Labels: | stability | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MongoDB Version: 4.2.1 |
||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | I cannot determine how to reproduce this issue as it always occurs without any warning, and I haven't performed any noteworthy actions. |
||||||||
| Participants: | |||||||||
| Description |
|
I have three MongoDB sharded clusters, and all of them have experienced the following issue at different times: all mongos processes in the cluster suddenly start repeatedly restarting, approximately twice per minute, with the following log entries:
I eventually discovered that simply restarting all mongo config processes automatically restores the normal operation of the mongos processes. But this cannot be a reliable, long-term solution. I haven't found any anomalies or anything higher than an 'Info' level message in the config and mongod logs. |
| Comments |
| Comment by Noopur Gupta [ 16/Oct/23 ] |
|
Hi Yutao, I see that you are using MongoDB v4.2.1 . This issue looks similar to an issue we have seen and fixed in later versions. https://jira.mongodb.org/browse/SERVER-47553 Also, please note that MongoDB v4.2 has reached end of life in April 2023, see https://www.mongodb.com/support-policy/lifecycles and is no longer supported. Hence, it is highly recommended to upgrade to MongoDB v4.2+ . Thanks Noopur |