Changed behaviour for test_stat10

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Btree, Disagg CI-blocker
    • None
    • Storage Engines - Transactions
    • SE Transactions - 2026-04-10
    • 3

      This is derived from WT-14937.

      test_stat10 is currently disabled globally both for ASC and DSC.

      There are two problems here, the first one is the trigger of assert error here in the code:

        File "/home/ubuntu/workspace/mongo/wiredtiger/build/../test/suite/test_stat10.py", line 175, in test_tree_stats
          self.assertEqual(entries, nrows * 2)
      AssertionError: 98 != 100  

      The fault is same in both ASC and DSC, 2 entries are missing.

      And the second one is we've removed btree_column_tws already, so make sure it should also be removed here in the test case.

      To reproduce the fault, applying the following diff to enable the test case:

      diff --git a/test/suite/test_stat10.py b/test/suite/test_stat10.py
      index 2dadea16de..e0878fe3fc 100644
      --- a/test/suite/test_stat10.py
      +++ b/test/suite/test_stat10.py
      @@ -106,7 +106,7 @@ class test_stat10(wttest.WiredTigerTestCase):
       
           def test_tree_stats(self):
               # FIXME-WT-14937: not working for disagg.
      -        self.skipTest("page delta")
      +        # self.skipTest("page delta")
               format = "key_format={},value_format={}".format(self.key_format, 'u')
               self.session.create(self.uri, format)
       
      @@ -151,7 +151,7 @@ class test_stat10(wttest.WiredTigerTestCase):
               row_empty_values = statscursor[stat.dsrc.btree_row_empty_values][2]
               column_deleted = statscursor[stat.dsrc.btree_column_deleted][2]
               column_rle = statscursor[stat.dsrc.btree_column_rle][2]
      -        column_tws = statscursor[stat.dsrc.btree_column_tws][2]
      +        # column_tws = statscursor[stat.dsrc.btree_column_tws][2]
               overflow = statscursor[stat.dsrc.btree_overflow][2]
               # Read backup stats even though backup isn't being used.
               self.assertEqual(0, statscursor[stat.dsrc.backup_blocks_compressed][2]) 

       

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Albert Song
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: