-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce lock requirements during recompression
Recompression used to take heavy Exclusive lock on chunk while it recompressed data. This blocked a lot of concurrent operations like inserts, deletes, and updates. By reducing the locking requirement to ShareUpdateExclusive, we enable more concurrent operations on the chunk and hypertable while relying on tuple locking. Recompression can still end up taking an Exclusive lock at the end in order to change the chunk status but it does this conditionally, meaning it won't take it unless it can do it immediatelly.
- Loading branch information
1 parent
134ddbf
commit bd5cba5
Showing
5 changed files
with
2,230 additions
and
65 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
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
Oops, something went wrong.