Strip schema create and open of tiered URIs

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0
    • Affects Version/s: None
    • Component/s: Schema Management
    • None
    • Storage Engines - Persistence
    • 45.745
    • SE Persistence backlog
    • None

      Problem

      schema_create.c and schema_open.c still implement tiered: / object: / tier: create and shared-colgroup open paths after the tests that used them are gone. src/tiered stays in the tree; this ticket only strips schema call sites.

      Change

      Strip __create_tiered, __create_tiered_tree, and the schema_create URI dispatch that maps those prefixes onto them. Flatten or drop is_tiered_shared create/open logic in these files. Strip import .wtobj branches in schema_create. Delete __wti_schema_get_tiered_uri / __wti_schema_release_tiered from schema_list.c if create was their only caller. Creating those URIs should fail as an unexpected object type, not map to file:. Keep __wt_schema_open_storage_source (still called from src/tiered). Keep __wt_schema_tiered_shared_colgroup_name (cur_metadata.c still calls it). Do not remove WT_TIERED / WT_DHANDLE_TYPE_TIERED / bstorage header fields. Do not change tests, docs, or src/tiered. Leave table/file tiered_storage= parse stubs.

      Test

      Ninja Debug build. cd dist && ./s_fast. python3 ../test/suite/run.py test_schema01 from build/. Do not run test_tiered*.

            Assignee:
            Luke Pearson
            Reporter:
            Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: