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

Fix having a read_timestamp earlier than pinned timestamp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Storage Engines 2019-04-22

      Description

      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
       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: