Replica set issue
Hello,
I have some issue with creating replica set. On Windows server I have installed 2 replica sets. And when try to run it I have fallowing issue:
test> db.hello()
{
topologyVersion: { processId: ObjectId('xxxxxxxxxxxxxxxx'), counter: Long('0') },
isWritablePrimary: false,
secondary: false,
info: 'Does not have a valid replica set config',
isreplicaset: true,
maxBsonObjectSize: 16777216,
maxMessageSizeBytes: 48000000,
maxWriteBatchSize: 100000,
localTime: ISODate('2026-07-02T19:09:18.464Z'),
logicalSessionTimeoutMinutes: 30,
connectionId: 7,
minWireVersion: 0,
maxWireVersion: 17,
readOnly: false,
ok: 1
}
And on primary server rs.status() returns that new server have status: STARTUP
I already removed and added new server form replica set multiple time, with removing all data from dbpath. Network team asunder me that network traffic is bidirectional.
What else I can check/ do?
Mongo version is outdated 6.x my idea was to create replica set as a backup before update.
I would be grateful for any help.