-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Tiered Storage
-
None
-
Storage Engines - Persistence
-
277.131
-
SE Persistence backlog
-
None
Problem
After schema create/open/drop/alter/truncate/worker and the flush_tier / storage-source / dhandle strip, leftover tiered branches remain in session, cursor, meta, btree, block, err, txn recover, util_load, config_collapse, schema leftovers, and conn_stat. src/tiered stays; this ticket only strips those call sites.
Change
Strip leftover tiered: / object: / tier: / .wtobj / flush / bstorage branches in: session_compact.c, session_prefetch.c, session_api.c, cur_stat.c, cur_backup.c, cur_std.c, cur_metadata.c, meta_track.c, meta_ckpt.c, meta_turtle.c, bt_handle.c, bt_sync_obsolete.c, block_open.c, block_mgr.c, err.c, global.c, txn_recover.c, util_load.c, config_collapse.c, schema_open.c, schema_create.c, conn_stat.c.
Keep __wt_schema_open_storage_source (still called from src/tiered). Keep __wt_schema_tiered_shared_colgroup_name if cur_metadata still needs it. Keep table/file tiered_storage= and tiered_object parse stubs (bt_handle.c / schema_create). Keep __wt_btree_switch_object if src/tiered still calls it. Keep objectid. Do not take checkpoint_txn.c, conn_api.c storage-source/final_flush/conn_config, conn_open.c, conn_handle.c, conn_reconfig.c, or conn_dhandle.c. Do not remove header types. Do not delete src/tiered, conn_tiered.c, block_tier.c, or dir_store.
Test
Ninja Debug + Python. cd dist && ./s_fast. Smallest relevant suite/csuite target for files you touch. Do not restore old functional test_tiered*.py. Do not expand test_tiered_deprecate.py unless a strip in this ticket creates a new stable refuse.