forked from scylladb/scylladb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alternator,ttl: limit parallelism to 1 page
Right now we do not really have any parallelism in the alternator TTL service, but in order to be future-proof, a semaphore is instantiated to ensure that we only handle 1 page of a scan at a time, regardless of how many tables are served. This commit also removes the FIXME regarding the service permit - using an empty permit is a conscious decision, because the parallelism is limited by other means (see above). Tests: unit(release) Message-Id: <b5f0c94f1afbead1f940a210911cc05f70900dcd.1638990637.git.sarna@scylladb.com>
- Loading branch information
Showing
2 changed files
with
11 additions
and
6 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