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

Keys not found in test_prepare_hs03 fails when using a dictionary with row store

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: History Store, Salvage
    • None
    • Storage Engines
    • 3
    • StorEng - Defined Pipeline

      The investigation of WT-8436 led me to try out the dictionary field and it appears that test_prepare_hs03 fails when a dictionary is in use for RS:

      diff --git a/test/suite/test_prepare_hs03.py b/test/suite/test_prepare_hs03.py
      index d32307f6c..55f70b7e4 100644
      --- a/test/suite/test_prepare_hs03.py
      +++ b/test/suite/test_prepare_hs03.py
      @@ -237,7 +237,7 @@ class test_prepare_hs03(wttest.WiredTigerTestCase):
           def test_prepare_hs(self):
               nrows = 100
               ds = SimpleDataSet(
      -            self, self.uri, nrows, key_format=self.key_format, value_format=self.value_format)
      +            self, self.uri, nrows, key_format=self.key_format, value_format=self.value_format, config="dictionary=1")
               ds.populate()
       
      

      Fails with:

        File "test_prepare_hs03.py", line 123, in check_data
          self.assertEquals(nkeys_checked, correct_values)
      AssertionError: 3999 != 742
      

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: