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

LSM index compaction hangs after creating snapshot

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None

      Description

      The fuzzer is hanging on code like this in Evergreen:

      var mongod = MongoRunner.runMongod({wiredTigerIndexConfigString: 'type=lsm'});
       
      var res = mongod.getDB('admin').runCommand('makeSnapshot');
      assert.commandWorked(res);
       
      var coll = mongod.getDB('test').foo;
       
      coll.ensureIndex({_id: 1, i: 1});
      coll.insert({a: 1});
      coll.runCommand('compact');
      


      It appears that __wt_lsm_compact is processing one chunk that fails to flush, which causes an infinite loop. I noticed that force flushes are indeed being added to the app queue, but that's about as far as I got with my investigation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-storage-engines Backlog - Storage Engines Team
                Reporter:
                kamran.khan Kamran K.
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: