Add fix_btree_size config to verify

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Checkpoints, Verify
    • None
    • Storage Engines, Storage Engines - Persistence
    • 0.001
    • SE Persistence backlog
    • None

      Depends on WT-18393. Add a fix_btree_size config to verify, off by default. When off, a mismatch between the derived and metadata size logs a warning and nothing else — deliberately not an error; the existing diagnostic-only check exists precisely because erroring on known-benign mismatches (WT-18038) is too disruptive. When on, verify overwrites the checkpoint metadata with the derived size and logs the correction. Cover the three cases in tests: sizes match (no-op), mismatch with config on (corrected + logged), mismatch with config off (warning only).

            Assignee:
            Jasmine Bi
            Reporter:
            Jasmine Bi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: