Hi all! Could someone familiar with sync MVs take ...
# contributing-to-starrocks
v
Hi all! Could someone familiar with sync MVs take a look at github.com/StarRocks/starrocks/pull/82421 (fixes #82213)? After a normal FE leader change, or a restart before a checkpoint, INSERT into a table with a sync MV built on expressions (e.g.
bitmap_union(to_bitmap(x))
,
hll_union(hll_hash(x))
) fails: the definition replayed from the journal is never analyzed. This started with #49528 and affects 3.5 through 4.2. The fix runs the same analysis as image load when the index is installed from the journal, in restore and in RECOVER. Checked with UT and on a 3-FE cluster (restart and leader stop).