starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

[BugFix] The time interval is too short to compaction in TabletUpdatesTest.compaction_with_empty_rowset, need wait for its version.

Open Linkerist opened this issue 3 years ago • 1 comments
trafficstars

What type of PR is this:

  • [x] bug
  • [ ] feature
  • [ ] enhancement
  • [ ] refactor
  • [ ] others

Which issues of this PR fixes :

Fixes #9677

Problem Summary(Required) :

When number of keys is large or machine is high load, this time interval too short to compaction, the inputs vector is empty, cause the _apply_compaction_rowset crash on this line https://github.com/StarRocks/starrocks/blob/866275b05e89a5cb7e5cd778753798cbbed002f4/be/src/storage/tablet_updates.cpp#L1325 so wait for its version.

Linkerist avatar Aug 11 '22 09:08 Linkerist

run starrocks_admit_test

wanpengfei-git avatar Aug 12 '22 08:08 wanpengfei-git

@sevev is not allowed to run commands

mergify[bot] avatar Aug 13 '22 03:08 mergify[bot]

@sevev is not allowed to run commands

mergify[bot] avatar Aug 13 '22 03:08 mergify[bot]