Add an additional case to test_live_restore01.py

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Live Restore
    • Storage Engines
    • None
    • None

      During the live restore project we added logic to WiredTiger to catch a potential avenue of database corruption. The logic prevents WiredTiger from starting up, without live restore options, when opened on a database that appears to have an in progress live restore. The relevant function call is:

      __wt_live_restore_validate_non_lr_system.

      Effectively we should exercise this code path in a python test and demonstrate it throwing an EINVAL error.

      The steps to do so would be:

      1. Open a live restore on a database, and specify 0 background threads. This will create an in progress live restore that cannot finish.
      2. Close the database connection
      3. Reopen it without any live restore configuration and we should see the error.

              Assignee:
              [DO NOT USE] Backlog - Storage Engines Team
              Reporter:
              Luke Pearson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: