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

Add python test for early_load flag

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.2, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • 3
    • Storage - Ra 2020-09-07

      In WT-6598, a hole in testing allowed a code error to be merged, which was detected by running with MongoDB.  The theory is that MongoDB uses the early_load flag, which changes the ordering of dynamically loaded extensions in WiredTiger.  The test suite never tries this flag, and should.

      test_encrypt01 tests both compression and encryption extensions.  I think if we added a new set of scenarios to be multiplied into this test, which did all combinations of early_load for compression and encryption, we could catch this.  As part of testing the test case, we should make sure the earlier commit for WT-6598 (https://github.com/wiredtiger/wiredtiger/commit/49b42d701b2236f7bc1b3868bdd146bc61db62b5) fails, and that the current tree works.

            Assignee:
            ravi.giri@mongodb.com Ravi Giri
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: