torodb / stampede

The ToroDB solution to provide better analytics on top of MongoDB and make it easier to migrate from MongoDB to SQL
https://www.torodb.com/stampede/
GNU Affero General Public License v3.0
1.76k stars 118 forks source link

unexpected field writeConcerMajorityJournalDefault in replica set configuration #231

Closed mahasheikhignite closed 5 years ago

mahasheikhignite commented 5 years ago

How to resolve unexpected field writeConcerMajorityJournalDefault in replica set configuration error in torodb i am stuck in this issue can any one help?

teoincontatto commented 5 years ago

Hi @mahasheikhignite,

Can you enable stacktrace with this log4j2.xml file and provide the full log with the stacktrace:

torodb-stampede --log4j2-file log4j2.xml
ghost commented 5 years ago

2019-10-18T09:10:05.287 WARN REPL - Unexpected field writeConcernMajorityJournalDefault in replica set configuration 2019-10-18T09:10:05.287 DEBUG REPL - Retrying to start heartbeats in 1 second 2019-10-18T09:10:06.288 DEBUG REPL - Heartbeat start failed: {errCode :BAD_VALUE, errorMsg:Unexpected field writeConcernMajorityJournalDefault in replica set configuration} 2019-10-18T09:10:06.289 WARN REPL - Unexpected field writeConcernMajorityJournalDefault in replica set configuration 2019-10-18T09:10:06.289 DEBUG REPL - Retrying to start heartbeats in 1 second

teoincontatto commented 5 years ago

Seems you are trying to use ToroDB Stampede with a MongoDB 3.6 version that is not supported (see https://docs.mongodb.com/manual/reference/replica-configuration/#rsconf.writeConcernMajorityJournalDefault).

This is related to issue #229

mahasheikhignite commented 5 years ago

Thanks @teoincontatto