ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      WiredTiger already supports a "next_random_seed" cursor config. We should expose it so tests can get the same random sample on every run.

      Proposal

      • Add a (test-only) sampling knob which sets the seed (by default unseeded)
      • Pass that seed to the WT "next_random_seed" config option

      Note that seeded cursors might have to bypass the WiredTigerSession cursor cache (same as size_stats cursors). WT applies next_random_seed only at open, and reset() doesn't re-seed, so a cached cursor would resume a half-used RNG sequence and silently break reproducibility.

            Assignee:
            Unassigned
            Reporter:
            Max Verbinnen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: