Bulk insert flush — add configuration params, statistics, and harden enum/flag infrastructure

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Btree, Statistics
    • None
    • Storage Engines, Storage Engines - Transactions
    • 0.001
    • None
    • None

      Production implementation phase T1 (~3 days). Begins after POC is complete.

      Changes:

      • dist/api_data.py: add bulk_insert_flush (bool) and bulk_insert_flush_threshold (bytes) with range validation
      • dist/stat.py: add bulk_insert_flushes, bulk_insert_internal_splits, bulk_insert_memory_peak, bulk_insert_time_flush
      • __curbulk_insert_row(): add r->multi_mem_bytes accumulation
      • Harden WT_SYNC_BULK_FLUSH and WT_REC_BULK_FLUSH introduced in POC to production quality

      Test: catch2 — config parse, stat init, threshold check fires at correct byte count

      Depends on: WT-17211 (T0c)
      Next: T2, T3 (can run in parallel)

            Assignee:
            Shoufu Du
            Reporter:
            Shoufu Du
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: