[MCOL-5000] ALTER TABLE ADD COLUMN breaks on Columnstore Replica Created: 2022-02-24 Updated: 2023-11-17 Resolved: 2022-10-24 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | DDLProc, MDB Plugin |
| Affects Version/s: | 6.2.3, 6.3.1 |
| Fix Version/s: | 22.08.8 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Edward Stoever | Assignee: | Gagan Goel (Inactive) |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Sprint: | 2021-17 |
| Assigned for Review: | |
| Assigned for Testing: | |
| Description |
|
Tested on Columnstore cluster version 6.2.3, the following command:
breaks replication on replica nodes:
Problem discovered in Columnstore training. |
| Comments |
| Comment by Kyle Hutchinson [ 2022-05-03 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I ran into this error as well, but figured out how to recover from it. On the replica node, I attempted to manually run the alter table statement. This gave me the following error:
I realized that when I queried information_schema.columnstore_columns on the broken replica for the table name, I got all of the columns I expected. However, when I queried information_schema.columns, it was missing the newly added column.
could fix my issue. After running it on the broken replica, I now saw the "missing" column in the information_schema.columns table and when I ran a
command. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2022-10-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Build verified: 22.11.01 (Drone #5781) PM1:
PM2
|