schema_disagg_abort: give every created table a unique name

XMLWordPrintableJSON

    • Storage Engines - Foundations
    • 170.536
    • None
    • None

      test/csuite/schema_disagg_abort names its tables table:schema_<node><thread><slot>, so a slot's name is recycled on every create/drop cycle. Name reuse is deliberate - it is what exercises create/drop/recreate of the same table - but it also means a run cannot be pointed at the schema behaviour alone, because any failure may be a recreate-specific problem.

      Give every create a fresh table name by appending a per-slot generation counter that advances on each create. The slot stays in the name, so the verifier keeps its per-slot state array and its pool-size filter unchanged, and the follower side needs no change at all, since the URI travels inside the event the leader relays.

      Two consequences worth recording:

      • Name reuse coverage goes away. Stale-btree-id-on-recreate and epoch resurrection are all same-name create/drop/recreate, so a unique-names run cannot reach them. If this is landed as the only behaviour rather than as an option, that coverage has to live somewhere else.
      • The verifier keeps only the latest durable operation per slot, so with unique names the earlier generations' drops are no longer checked for absence. Full coverage would need URI-keyed verifier state.

            Assignee:
            Jie Chen
            Reporter:
            Jie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: