Enable verify in teardown for layered tests with follower config

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Layered Tables, Test Python
    • None
    • Storage Engines, Storage Engines - Persistence
    • SE Persistence - 2025-10-24
    • None

      As part of WT-14909, we will extend test_layered.* tests with verify through the wttest teardown. However, we have excluded test_layered(57|41|21|22|17) tests. These tests are configured with follower role and require further special handling.

      Followers missing stable tables prior to picking up their first checkpoint will fail verification with "verify(layered): stable table verification failed : No such file or directory". This is an okay transient state to have and therefore we should allow this state to pass verification. We should be able to account for leader/follower role. We cannot rely on the following as role is currently hardcoded as leader: and is only  used/updated when the disagg hook (which is incompatible with layered tests and other disagg tests) is in use.

      disagg = self.getDisaggParameters(} <--- only used for disagg hook
      role = disagg.role 
      
      try:
          self.verifyUntilSuccess(session, uri)
      except wiredtiger.WiredTigerError as e:
          if str(e) == os.strerror(errno.ENOENT) and role == 'follower':
              pass

      Secondly, there are cases where tests (i.e. test_layered(17|22)) with follower configurations stall indefinitely.

      Definition of done:

      • Check for leader/follower configurations through other means.
      • Extend the currently excluded layered tests with verification and remove them from the exclusion list.
      • Account for followers missing stable constituents failing with ENOENT. This is an okay transient state to have.

            Assignee:
            Mariam Mojid
            Reporter:
            Mariam Mojid
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: