In a PSS architecture ?
Question1 Are there a possibilities to get estimation of replication state change from ?
<STARTUP> To <RECOVERING>
<STARTUP> or <RECOVERING> To <ROLLBACK>
<ROLLBACK> To <SECONDARY>
We can set the time for below state change.
<SECONDARY> To <PRIMARY>
Question2? In what conditions following state change will happen ?
<STARTUP> To <ROLLBACK>
<RECOVERING> To <ROLLBACK>
Please help me understand I'm not sure if there are situations for above 2 or only either of 2 will likely to happen.
rs.printSecondaryReplicationInfo()
, returns aInitialSyncRemainingEstimatedDuration
mongo9999:RECOVERING> rs.print
`rs.printReplicationInfo( rs.printSlaveReplicationInfo('mongo9999:STARTUP2> rs.printSecondaryReplicationInfo() 2022-03-16T07:37:17.716-0700 E QUERY [main] TypeError: rs.printSecondaryReplicationInfo is not a function : @(shell):1:1
rs.status().initialSyncStatus
?initialSyncStatus
was added in release 4.2.1 I guess you have a problem on your deployment. Did you have a look at mongod log file?