Hi all,
I’m trying to setup a replica set with MongoDB 7 following the instruction on mongodb.com. Everything was going well, the replica set started up correctly with 1 primary and 1 secondary on the same machine with different ports and data directory.
However, after 10min, I started to see the following logs produced.
The cluster currently does not doing anything yet, neither client connection nor data operation. Everything is default.
{"t":{"$date":"2024-03-17T22:41:10.571+00:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"conn9","msg":"Frame","attr":{"frame":{"a":"55C4AC624CE6","b":"55C4A484B000","o":"7DD9CE6","s":"_ZN5mongo13error_details16ExceptionForImplILNS_10ErrorCodes5ErrorE262EJNS_15ExceptionForCatILNS_13ErrorCategoryE2EEENS4_ILS5_10EEENS4_ILS5_14EEEEEC1ERKNS_6StatusE","C":"mongo::error_details::ExceptionForImpl<(mongo::ErrorCodes::Error)262, mongo::ExceptionForCat<(mongo::ErrorCategory)2>, mongo::ExceptionForCat<(mongo::ErrorCategory)10>, mongo::ExceptionForCat<(mongo::ErrorCategory)14> >::ExceptionForImpl(mongo::Status const&)","s+":"16"}}}
{"t":{"$date":"2024-03-17T22:41:10.571+00:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"conn9","msg":"Frame","attr":{"frame":{"a":"55C4AC60AF8C","b":"55C4A484B000","o":"7DBFF8C","s":"_ZN5mongo13error_details23throwExceptionForStatusERKNS_6StatusE","C":"mongo::error_details::throwExceptionForStatus(mongo::Status const&)","s+":"50EA"}}}
{"t":{"$date":"2024-03-17T22:41:20.575+00:00"},"s":"W", "c":"ASSERT", "id":23075, "ctx":"conn9","msg":"DBException thrown","attr":{"error":{"code":262,"codeName":"ExceededTimeLimit","errmsg":"operation exceeded time limit"}}}
{"t":{"$date":"2024-03-17T22:44:03.772+00:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"conn9","msg":"Frame","attr":{"frame":{"a":"55C4AC6AFB78","b":"55C4A484B000","o":"7E64B78","s":"_ZN5mongo15printStackTraceEv","C":"mongo::printStackTrace()","s+":"38"}}}
{"t":{"$date":"2024-03-17T22:44:03.772+00:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"conn9","msg":"Frame","attr":{"frame":{"a":"55C4A94EBF04","b":"55C4A484B000","o":"4CA0F04","s":"_ZN5mongo11DBExceptionC1ERKNS_6StatusE","C":"mongo::DBException::DBException(mongo::Status const&)","s+":"34"}}}
{"t":{"$date":"2024-03-17T22:44:03.772+00:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"conn9","msg":"Frame","attr":{"frame":{"a":"55C4AC624CE6","b":"55C4A484B000","o":"7DD9CE6","s":"_ZN5mongo13error_details16ExceptionForImplILNS_10ErrorCodes5ErrorE262EJNS_15ExceptionForCatILNS_13ErrorCategoryE2EEENS4_ILS5_10EEENS4_ILS5_14EEEEEC1ERKNS_6StatusE","C":"mongo::error_details::ExceptionForImpl<(mongo::ErrorCodes::Error)262, mongo::ExceptionForCat<(mongo::ErrorCategory)2>, mongo::ExceptionForCat<(mongo::ErrorCategory)10>, mongo::ExceptionForCat<(mongo::ErrorCategory)14> >::ExceptionForImpl(mongo::Status const&)","s+":"16"}}}
{"t":{"$date":"2024-03-17T22:44:03.772+00:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"conn9","msg":"Frame","attr":{"frame":{"a":"55C4AC60AF8C","b":"55C4A484B000","o":"7DBFF8C","s":"_ZN5mongo13error_details23throwExceptionForStatusERKNS_6StatusE","C":"mongo::error_details::throwExceptionForStatus(mongo::Status const&)","s+":"50EA"}}}
{"t":{"$date":"2024-03-17T22:44:03.772+00:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"conn9","msg":"Frame","attr":{"frame":{"a":"55C4AC69CD44","b":"55C4A484B000","o":"7E51D44","s":"_ZN5mongo13iassertFailedERKNS_6StatusENS_14SourceLocationE","C":"mongo::iassertFailed(mongo::Status const&, mongo::SourceLocation)","s+":"19A"}}}
Config file as following
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: /var/lib/mongodb
directoryPerDB: true
wiredTiger:
engineConfig:
directoryForIndexes: true
# where to write logging data.
systemLog:
destination: file
logAppend: true
logRotate: reopen
traceAllExceptions: true
path: /var/log/mongodb/mongod.log
# network interfaces
net:
port: 27017
bindIp: 127.0.0.1,172.16.1.210
# how the process runs
processManagement:
timeZoneInfo: /usr/share/zoneinfo
security:
#authorization: enabled
keyFile: /etc/mongodb-keyfile
#operationProfiling:
replication:
replSetName: test-dev