[SERVER-31580] Replica Set configuration Created: 16/Oct/17 Updated: 24/Feb/21 Resolved: 27/Oct/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Sungbeom Cho | Assignee: | Mark Agarunov |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
[Server log]
[Message]
|
| Comments |
| Comment by Sumit Kandoi [ 24/Feb/21 ] |
|
Hello Mark,
In above comments as you mentioned changing/increasing value of heartbeatTimeOutSecs can resolve this time limit issue. I want to understand default value of heartbeatTimeOutSecs = 10 secs. let's say if i increase value to 15secs then what can be side effects and benefits of this new value |
| Comment by Sungbeom Cho [ 23/Oct/17 ] |
|
Hi Mark, Thanks, |
| Comment by Mark Agarunov [ 20/Oct/17 ] |
|
Hello sungbeom, Thank you for the additional information. You can adjust the heartbeat timeout by changing the heartbeatTimeoutSecs parameter in the replicaset configuration. If the problem is still present after making this change, please provide the complete logs and we can continue investigating. Thanks, |
| Comment by Sungbeom Cho [ 17/Oct/17 ] |
|
Hi Mark, 1. When trying to connect to node2, is the connection attempt logged on node2? 2. Are you able to connect to node2 from the machine the primary node is on from the command line? (ex mongo --host node2 --port 27017) 3. Could you please provide the complete logs from all affected mongod nodes? One thing I suppose is that this problem might occur because of time limit. Would you let me know how to increase the time limit? Thanks, |
| Comment by Mark Agarunov [ 17/Oct/17 ] |
|
Hello sungbeom, Thank you for the report. To get a better idea of what may be causing this issue, I'd like to ask a few questions.
Thanks, |
| Comment by Sungbeom Cho [ 16/Oct/17 ] |
|
Hi, all That is log message I get when I try "rs.add("node2")" in primary. |