cannot be converted from type 'varchar(6000(bytes))' to type 'mediumtext'
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- mysql
- 领域
- databases
调研方向
未指定源文件或测试。先比较两个 CREATE TABLE 定义和 SHOW REPLICA STATUS 错误,然后追踪复制如何处理 varchar 到 mediumtext 的不匹配。完成的标准是,报告中的模式组合不再阻止副本执行 SQL。
由索引模型根据 Issue 内容生成。
描述
show replica status\G
*************************** 1. row ***************************
Replica_IO_State: Waiting for source to send event
Source_Host: pcxxxxxxxxxxxxxxxxx.rwlb.rds.aliyuncs.com
Source_User: xxxxxxxxxx
Source_Port: 3306
Connect_Retry: 60
Source_Log_File: mysql-bin.037807
Read_Source_Log_Pos: 401105392
Relay_Log_File: mysql-relay-bin.000002
Relay_Log_Pos: 4956938
Relay_Source_Log_File: mysql-bin.037805
Replica_IO_Running: Yes
Replica_SQL_Running: No
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table: xxxx.%
Replicate_Wild_Ignore_Table: xxxxx.tmp_%
Last_Errno: 13146
Last_Error: Column 4 of table 'xxxxx.branch_resource_param' cannot be converted from type 'varchar(6000(bytes))' to type 'mediumtext'
Skip_Counter: 0
Exec_Source_Log_Pos: 479728715
Relay_Log_Space: 971998423
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Source_SSL_Allowed: No
Source_SSL_CA_File:
Source_SSL_CA_Path:
Source_SSL_Cert:
Source_SSL_Cipher:
Source_SSL_Key:
Seconds_Behind_Source: NULL
Source_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Last_IO_Error:
Last_SQL_Errno: 13146
Last_SQL_Error: Column 4 of table 'xxxxxxx.branch_resource_param' cannot be converted from type 'varchar(6000(bytes))' to type 'mediumtext'
Replicate_Ignore_Server_Ids:
Source_Server_Id: 35095752
Source_UUID: 73b43377-f5a5-11ef-bf36-08c0ebd508aa
Source_Info_File: mysql.slave_master_info
SQL_Delay: 0
SQL_Remaining_Delay: NULL
Replica_SQL_Running_State:
show create table pos3_dyh.branch_resource_param\G
*************************** 1. row ***************************
Table: branch_resource_param
Create Table: CREATE TABLE branch_resource_param (
system_book_code varchar(20) NOT NULL,
branch_num int(11) NOT NULL,
branch_resource_name varchar(50) NOT NULL,
branch_resource_param_key varchar(200) NOT NULL,
branch_resource_param_val varchar(2000) DEFAULT NULL,
aged_timestamp datetime DEFAULT NULL,
PRIMARY KEY (system_book_code,branch_num,branch_resource_name,branch_resource_param_key)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
CREATE TABLE branch_resource_param (
system_book_code varchar(20) NOT NULL,
branch_num int NOT NULL,
branch_resource_name varchar(50) NOT NULL,
branch_resource_param_key varchar(200) NOT NULL,
branch_resource_param_val text,
aged_timestamp datetime DEFAULT NULL,
PRIMARY KEY (system_book_code,branch_num,branch_resource_name,branch_resource_param_key)
) ENGINE=DUCKDB DEFAULT CHARSET=utf8mb3
- 主要语言
- C++
- 星标
- 6k
- 派生
- 902
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
alibaba/AliSQL 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
Deployment Architecture Issues可能重新可做 @p1p1bear 于 84 天前认领,目前没有进行中的 PR。 未关闭
-
难度 4/5 3-5 天 新手友好度 35/100
-
VECTOR INDEX with M=200 returns farthest candidates on 1D monotonic vectors可能重新可做 @JoeJRW 于 134 天前认领,目前没有进行中的 PR。 未关闭bug
-
Potential memory leak in hlindex_open when open_table_from_share fails可能重新可做 @JoeJRW 于 148 天前认领,目前没有进行中的 PR。 未关闭bug
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
ros-navigation/navigation2#6648 · 1 条评论 ·
维护者通常 1 天内回复