-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[columnar] [bug] panic query on select count(*) from ..
* When stripe assignment for next parallel worker is executing we iterate sequentially to find next stripe that will be used. That could be expensive - especially if number of stripes for table is big. During this loop we are holding shared mutex that will abort if held to long. * Fixed by using second column from index to faster assign stripe for worker.
- Loading branch information
Showing
1 changed file
with
12 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters