Skip to content

Remove table API from seekdb#855

Open
hnwyllmm wants to merge 5 commits into
masterfrom
task/2026052600116337703
Open

Remove table API from seekdb#855
hnwyllmm wants to merge 5 commits into
masterfrom
task/2026052600116337703

Conversation

@hnwyllmm
Copy link
Copy Markdown
Member

@hnwyllmm hnwyllmm commented Jun 4, 2026

Task Description

Remove table API from seekdb.

Solution Description

Passed Regressions

Upgrade Compatibility

Other Information

  • Related links: DIMA-2026052600116337703

Release Note

hnwyllmm added 5 commits June 3, 2026 15:56
Delete src/observer/table/ (~250 files) - KV/HKV/Redis/HBase/Table API
Delete src/libtable/ (~32 files) - client SDK
Delete src/observer/table_load/client/ (~4 files) - table_api RPC entry
Delete share/table/ redis/ + ob_table.* + ob_table_rpc_* (~20 files)
Delete all table_api test files (~45 files)
Fix cross-module references
- Stub out KV virtual tables, TTL RPC handler
- Remove table_api MTL registrations, RPC processors
- Add missing includes for transitive dependencies
- Keep table_load/ (used by SQL LOAD DATA path)
- Keep share/table/ ob_ttl_util, ob_table_ddl_struct, ob_table_config_util, ob_table_load_* files (used by other modules)

Total: ~351 files deleted, ~144,920 lines removed
Build: verified (seekdb binary generated)
- Remove ObRedisHelper, ObRedisInfoV1, ObKvModeType dead types
- Remove import_redis_info/check_redis_info/check_basic_info (REDIS-only)
- Simplify ObRedisImporter::exec_op to return OB_NOT_SUPPORTED
- Remove ObTTLUtil::check_is_htable_ttl_ and clean up callers
- Remove ObRedisDataModel enum and redis_model_ field from ObKVAttr
- Remove check_kv_attributes and check_htable_ddl_supported
- Fix 13 external callers in sql/resolver/ddl/ and rootserver/
- Remove empty is_user_ls branches in ob_ls.cpp
- Add missing include for ob_alter_system_executor.cpp

Build: verified
Previously hosted inside ObTenantTabletTTLMgr (deleted with table_api).
Decoupled and added directly as ObLS member with full lifecycle
- init + REGISTER_TO_LOGSERVICE in register_to_service_
- stop in stop_
- wait TG_WAIT in wait_
- safe_to_destroy check
- UNREGISTER + destroy + TG_DESTROY in unregister_user_service_

Build: verified
Delete ObAllVirtualKvConnection, ObAllVirtualKvClientInfo
ObAllVirtualKvGroupCommitInfo - all empty stubs with no functionality.

Build: verified
@hnwyllmm
Copy link
Copy Markdown
Member Author

hnwyllmm commented Jun 4, 2026

The mapping Dima issue is Deleting TABLE API code.

@hnwyllmm
Copy link
Copy Markdown
Member Author

hnwyllmm commented Jun 4, 2026

@hnwyllmm
Copy link
Copy Markdown
Member Author

hnwyllmm commented Jun 4, 2026

Core Test
Execution Result: [FAILED] Task run failed. GID: 4762000979 Details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant