OpenTenBase / OpenTenBase/TXSQL

Change error message when INSTANT ADD/DROP not possible in max column count

未关闭
#99 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
C++
星标
338
派生
235
PR 合并指标
30 天内没有已合并 PR

描述

Background:
When a table with max column (1017) has repeated instant drop
followed by instant add on the same column, the n_def parameter
increases. This parameter has a max limit of 1023. Hence when we
cross this limit, the server reports "Too many columns".

Problem:
The error message from the server is misleading and columns
can't be added with ALGORITHM=INSTANT only. We can still
add column using INPLACE or COPY algorithm.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在具有所述最大列数的表上复现重复的即时 DROP 后紧接即时 ADD,然后检查服务器针对 ALGORITHM=INSTANT 报告 "Too many columns" 的位置。将其行为与 INPLACE 和 COPY 进行比较,并确认由此产生的错误解释了该算法的限制,而这些替代方案仍然可用。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
databases
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。