Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33652

Restarting oplog query due to error: Restarting oplog query due to error: OperationFailed: GetMore command executor error

    • Type: Icon: Question Question
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.2
    • Component/s: Replication
    • None

      secondary have error "Restarting oplog query due to error" after that happen "***aborting after fassert() failure"

      Log from secondary member: There are very man these entires:

      2018-03-01T07:49:14.167Z I REPL     [replication-7490] Restarting oplog query due to error: OperationFailed: GetMore command executor error: CappedPositionLost: CollectionScan died due to position in capped collection being deleted. Last seen record id: RecordId(6527632502100591112). Last fetched optime (with hash): { ts: Timestamp 1519832877000|519, t: 4 }[-5691563086952961010]. Restarts remaining: 3
      2018-03-01T07:49:14.199Z I REPL     [replication-7490] Scheduled new oplog query Fetcher source: xxxxxxxxxx:27018 database: local query:{ find: "oplog.rs", filter: { ts: { $gte: Timestamp 1519832877000|519 } }, tailable: true, oplogReplay: true, awaitData: true, maxTimeMS: 60000, term: 4 } query metadata: { $replData: 1, $ssm: { $secondaryOk: true } } active: 1 timeout: 10000ms shutting down?: 0 first: 1 firstCommandScheduler: RemoteCommandRetryScheduler request: RemoteCommand 370471624 -- target:xxxxxxxxxx:27018 db:local cmd:{ find: "oplog.rs", filter: { ts: { $gte: Timestamp 1519832877000|519 } }, tailable: true, oplogReplay: true, awaitData: true, maxTimeMS: 60000, term: 4 } active: 1 callbackHandle.valid: 1 callbackHandle.cancelled: 0 attempt: 1 retryPolicy: RetryPolicyImpl maxAttempts: 1 maxTimeMillis: -1ms
      2018-03-01T07:49:14.258Z I REPL     [rsBackgroundSync] Starting rollback due to OplogStartMissing: our last op time fetched: { ts: Timestamp 1519832877000|519, t: 4 }. source's GTE: { ts: Timestamp 1519832981000|612, t: 4 } hashes: (-5691563086952961010/-1342693826324896861)2018-03-01T07:49:14.268Z I REPL     [rsBackgroundSync] Waiting for all operations from { ts: Timestamp 1519831270000|141, t: 4 } until { ts: Timestamp 1519832877000|519, t: 4 } to be applied before starting rollback.
      
      
      2018-03-02T07:10:04.447Z F REPL     [rsBackgroundSync] Unable to complete rollback. A full resync may be needed: UnrecoverableRollbackError: need to rollback, but unable to determine common point between local and remote oplog: NoMatchingDocument: RS100 reached beginning of remote oplog [1] @ 18752
      2018-03-02T07:10:04.459Z I -        [rsBackgroundSync] Fatal Assertion 28723 at src/mongo/db/repl/bgsync.cpp 676
      2018-03-02T07:10:04.459Z I -        [rsBackgroundSync] 
      

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            kangwanu kangwanu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: