Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4531

Fix having a read_timestamp earlier than pinned timestamp

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Storage Engines 2019-04-22

      We have seen a bug where the pinned timestamp is greater than an active read timestamp.

      Call stack of failure :

      [ShardedClusterFixture:job0:shard0:primary] 2018-12-21T17:39:30.439+0000 D TXN [ShardRegistry] Transaction coordinator received a vote to commit from shard shard-rs0
      [ShardedClusterFixture:job0:shard0:primary] 2018-12-21T17:39:30.439+0000 D TXN [TransactionCoordinatorService-38] Coordinator going to send command { commitTransaction: 1, commitTimestamp: Timestamp(1545413970, 37), lsid:
      { id: UUID("4df6a5fb-d651-4c76-a1f9-fadb56cc0f56"), uid: BinData(0, E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855) }, txnNumber: 40, autocommit: false, writeConcern:{ w: "majority" }} to shard shard-rs0
      [ShardedClusterFixture:job0:shard0:primary] 2018-12-21T17:39:30.440+0000 E STORAGE [conn13142] WiredTiger error (0) [1545413970:439062][23148:140704507385568], WT_SESSION.prepare_transaction:__wt_txn_clear_read_timestamp, 1074: txn->read_timestamp >= pinned_ts Raw: [1545413970:439062][23148:140704507385568], WT_SESSION.prepare_transaction: __wt_txn_clear_read_timestamp, 1074: txn->read_timestamp >= pinned_ts
       [ShardedClusterFixture:job0:shard0:primary] 2018-12-21T17:39:30.440+0000 D TXN [TransactionCoordinatorService-44] Coordinator going to send command { commitTransaction: 1, commitTimestamp: Timestamp(1545413970, 37), lsid:{ id: UUID("4df6a5fb-d651-4c76-a1f9-fadb56cc0f56"), uid: BinData(0, E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855) }, txnNumber: 40, autocommit: false, writeConcern:{ w: "majority" }} to shard shard-rs1
       [ShardedClusterFixture:job0:shard0:primary] 2018-12-21T17:39:30.441+0000 STORAGE [conn13142] WiredTiger error (0) [1545413970:440064 [23148:140704507385568], WT_SESSION.prepare_transaction: __wt_abort, 30: aborting WiredTiger library Raw: [1545413970:440064][23148:140704507385568], WT_SESSION.prepare_transaction: __wt_abort, 30: aborting WiredTiger library
       

            Assignee:
            luke.pearson@mongodb.com Luke Pearson
            Reporter:
            vamsi.krishna@mongodb.com Vamsi Boyapati
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: