OpenTenBase / OpenTenBase/TXSQL

Bug #34893684: Alter Table IMPORT TABLESPACE crashes after upgrade

Open
#97 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
337
Forks
234
PR merge metrics
No merged PRs in 30d

Description

PROBLEM:

  • In current version pattern for naming hidden dropped column has
    changed.
  • When cfg file is taken from older version hidden dropped column
    name follows old pattern.
  • When INSTANT operations are done in current version exactly in same
    order as done before creating cfg file, then the server crashes.

FIX:

  • When searching dropped column with older name version returns null,
    IMPORT fails with error SCHEMA_MISMATCH.

Contributor guide

No contributing guide indexed for this repository

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

Start with the Alter Table IMPORT TABLESPACE path and the handling of hidden dropped-column names during INSTANT operations. Reproduce the upgrade scenario using an older cfg file, then verify that a missing old-pattern column produces SCHEMA_MISMATCH instead of a server crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.