Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

154
Views
mongo replica failing to sync and start with replicaset

I have a 3 node replicas mongo cluster. I managed to start first two nodes but the thrd one it's failing with:

[rsBackgroundSync] starting rollback: OplogStartMissing our last op time fetched: (term: 33, timestamp: Jan 22 09:34:52:1). source's GTE: (term: 34, timestamp: Jan 22 09:35:25:1) hashes: (-9060984734961038872/2476820215102251535)
2017-01-22T14:01:51.206+0000 F REPL     [rsBackgroundSync] need to rollback, but in inconsistent state
2017-01-22T14:01:51.206+0000 I -        [rsBackgroundSync] Fatal assertion 28723 UnrecoverableRollbackError need to rollback, but in inconsistent state. minvalid: (term: 38, timestamp: Jan 22 11:13:01:1) > our last optime: (term: 33, timestamp: Jan 22 09:34:52:1) @ 18750

I made a mongodump from Primary and remove this third replica (mongoreplica3) from the replicaset and restore it, but after I tried to set back the node ion replica set it's still failing with the same error.

Any idea how can I manually sync and start this mongoreplica3 with my replicaset?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

This was solved by removing everything from /data and start the mongoreplica which got synced with the Primary after.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!