Make the underflow warning a WT_ASSERT when decreasing block size

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0
    • Affects Version/s: None
    • Component/s: Block Manager
    • None
    • Storage Engines, Storage Engines - Persistence
    • 0.007
    • SE Persistence backlog
    • None

      We have the current code:

          if (orig < size)
              __wt_verbose_warning(session, WT_VERB_DISAGGREGATED_STORAGE,
                "disaggregated block size underflow: decrementing %" PRIu64 " from %" PRIu64
                ", clamped to 0",
                size, orig);
      

      We want to move it to a WT_ASSERT to get more signal in case we hit that condition.

            Assignee:
            Etienne Petrel
            Reporter:
            Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: