Restrict non-standard DDL syntax (create table fork, create table like) to enforce table limit in zero mode
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.9k
- Forks
- 342
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 53
Description
Environment
- Version: seekdb (OceanBase seekdb 1.1.0.0)
- Revision: 1-c4bcf8bc659c52205af70103f073bd69781dcf92
- Build Branch: master
- Build Time: Mar 17 2026 14:49:04
- Build Flags: RelWithDebInfo
- Build Info: obbuild-per...
Description
In zero mode, non-standard DDL syntax for table creation (e.g., create table fork, create table like) currently bypasses the configured table limit. These operations need to be restricted to enforce the table limit correctly.
Impact
Without restriction, users can circumvent the intended table limit, potentially leading to resource exhaustion or performance degradation in zero mode deployments.
Creator: wyfanxiao
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names zero mode and the non-standard CREATE TABLE FORK and CREATE TABLE LIKE syntax, but provides no files, tests, or entry points. Locate the zero-mode table-limit enforcement and the handlers for these DDL forms, then verify that each respects the configured limit when the limit is reached.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100