Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BugFix] Fix pindex read/write confilict when enable pindex rebuild i…
…n compaction (StarRocks#37197) Why I'm doing: This bug is introduced by this pr(StarRocks#36819), we will rebuild pindex if we pick all rowsets to do compaction. But in rebuild pindex, we try to reset pindex but doesn't hold the lock which may cause read/write conflict between compaction and data ingestion. What I'm doing: Hold the primary index lock when we reset primary index. Signed-off-by: zhangqiang <[email protected]>
- Loading branch information