oceanbase / oceanbase/seekdb

Restrict non-standard DDL syntax (create table fork, create table like) to enforce table limit in zero mode

Open
#330 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dima type: bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.