starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

[Bug] ASAN crash when query a retored non-primary key table with generated column which added by ALTER stmt

Open srlch opened this issue 2 years ago • 1 comments

Problem: If the non-pk table with some data add a generated column by alter stmt and backup the table when the table finish a base compaction without all rowset. In this case, restore the backup snapshot with trigger this problem. The connection between segment and dcg will be wrongly set, and crash in asan mode. cause by the different column length in chunk. This is because in the restore process, we will skip the empty dog(for the segment generated by compaction) BUT NOT RESET THE INDEX FOR DCG SNAPSHOT LIST INDEX.

srlch avatar Nov 03 '23 10:11 srlch

We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!

github-actions[bot] avatar May 06 '24 11:05 github-actions[bot]