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

abort in bt_discard.c, 419

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.8
    • Affects Version/s: 3.1.7
    • Component/s: WiredTiger
    • Labels:
      None
    • Fully Compatible
    • ALL
    • 0

      https://logkeeper.mongodb.org/build/55d24df390413011a25f61c1/all

      This was a replication jstest running on the head of master branch. The secondary node hit this error and shut down:

      [ReplicaSetFixture:job0:secondary] 2015-08-17T21:14:17.531+0000 E STORAGE  [thread1] WiredTiger (0) [1439846057:531093][2736:2005873552], file:collection-992-5875615686962012966.wt, eviction-worker: src\third_party\wiredtiger\src\btree\bt_discard.c, 419: F_ISSET(session, WT_SESSION_DISCARD_FORCE) || upd->txnid == WT_TXN_ABORTED || __wt_txn_visible_all(session, upd->txnid)
      [ReplicaSetFixture:job0:secondary] 2015-08-17T21:14:17.531+0000 E STORAGE  [thread2] WiredTiger (0) [1439846057:531093][2736:2005873552], file:index-993-5875615686962012966.wt, eviction-worker: src\third_party\wiredtiger\src\btree\bt_discard.c, 419: F_ISSET(session, WT_SESSION_DISCARD_FORCE) || upd->txnid == WT_TXN_ABORTED || __wt_txn_visible_all(session, upd->txnid)
      [ReplicaSetFixture:job0:secondary] 2015-08-17T21:14:17.531+0000 E STORAGE  [thread1] WiredTiger (0) [1439846057:531093][2736:2005873552], file:collection-992-5875615686962012966.wt, eviction-worker: aborting WiredTiger library
      [ReplicaSetFixture:job0:secondary] 2015-08-17T21:14:17.531+0000 E STORAGE  [thread2] WiredTiger (0) [1439846057:531093][2736:2005873552], file:index-993-5875615686962012966.wt, eviction-worker: aborting WiredTiger library
      

      This appears to have happened after three attempts by replication to drop a collection. It appears three times in the log, so my guess is that it may have hit a WriteConflictException and retried. I believe there is really only one drop instruction in the replication stream.

      [ReplicaSetFixture:job0:secondary] 2015-08-17T21:14:12.544+0000 I COMMAND  [repl writer worker 2] CMD: drop test.cursora
      [ReplicaSetFixture:job0:secondary] 2015-08-17T21:14:16.079+0000 I COMMAND  [repl writer worker 1] CMD: drop test.cursora
      [ReplicaSetFixture:job0:secondary] 2015-08-17T21:14:17.117+0000 I COMMAND  [repl writer worker 1] CMD: drop test.cursora
      

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: