2020-09-01
mongodb 分片集群报错,每隔一段时间就报一次,什么情况?
10Mmongodb 分片集群报错,每隔一段时间就报一次,什么情况?有办法解决吗?

收藏
分享
2条回答
默认
最新
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
墨值悬赏
10Mmongodb 分片集群报错,每隔一段时间就报一次,什么情况?有办法解决吗?

##############################
REMEDIATION AND WORKAROUNDS
To remediate loss of availability, kill and re-start the config server primary and allow replica set failover to reset the session cache on the new primary.
Setting maxSessions to a higher number than the default of 1 million can delay the onset of this issue.
##############################
请参考:
Jira Ticket: https://jira.mongodb.org/browse/SERVER-42827
解决方案:
升级到4.2.6。下载地址:https://www.mongodb.com/download-center/community
临时解决:
强制重新选举config主节点;
设置更大的maxSessions参数。
评论
有用 0
墨值悬赏