Skip disagg database size verify when no checkpoint has been picked up

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: Checkpoints
    • None
    • Storage Engines, Storage Engines - Persistence
    • 168.307
    • None
    • None

      wt_verify_disagg_database_size is invoked from wiredtiger_open (under verify_metadata=true) before any post-open reconfigure has run. The in-memory conn->disaggregated_storage.database_size is populated only by checkpoint pickup (disagg_finalize_checkpoint_meta), so a follower that opens without disaggregated.checkpoint_meta in its initial config sees database_size == 0 while local metadata still carries the prior run's .wt_stable checkpoints. The verify then trips a spurious mismatch, most visibly in test/format, which supplies checkpoint_meta via reconfigure after open, not at open.

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

              Created:
              Updated:
              Resolved: