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

Incorrect rollback reason printed

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 5
    • StorEng - Defined Pipeline

       

      conn_config = "cache_size=10MB"
      
      cursor = self.session.open_cursor(self.uri) 
      self.session.begin_transaction() 
      for i in range(1,1000000000):
       cursor[i] = str(i)

       
      The test outputs the following error:

      _wiredtiger.WiredTigerRollbackError: WT_ROLLBACK: conflict between concurrent operations 

      The error mentions that a rollback occurred due to conflict between concurrent operations, however, that is not the case. The actual reason for the rollback is increased cache pressure. This is misleading and should be fixed.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            siddhartha.mahajan@mongodb.com Sid Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: