Skip to content

vinyl: unthrottle scheduler for checkpoint#12346

Merged
locker merged 1 commit intotarantool:masterfrom
locker:vy-scheduler-unthrottle-fix
Feb 26, 2026
Merged

vinyl: unthrottle scheduler for checkpoint#12346
locker merged 1 commit intotarantool:masterfrom
locker:vy-scheduler-unthrottle-fix

Conversation

@locker
Copy link
Member

@locker locker commented Feb 25, 2026

The scheduler is throttled after a dump/compaction error to avoid spamming logs in case of a repetitive disk error, like running out of disk space. However, if the user calls box.snapshot() it must be unthrottled. Although we do clear the is_throttled flag, we don't wake up the scheduler fiber so this doesn't work as expected. Fix it.

BTW this should speed up those Vinyl tests that use error injections for failing dump/compaction tasks.

Closes #12342

The scheduler is throttled after a dump/compaction error to avoid
spamming logs in case of a repetitive disk error, like running out
of disk space. However, if the user calls `box.snapshot()` it must
be unthrottled. Although we do clear the `is_throttled` flag, we don't
wake up the scheduler fiber so this doesn't work as expected. Fix it.

BTW this should speed up those Vinyl tests that use error injections
for failing dump/compaction tasks.

Closes tarantool#12342

NO_DOC=bug fix
@locker locker requested a review from a team as a code owner February 25, 2026 13:33
@locker locker requested a review from nshy February 25, 2026 13:51
@nshy nshy assigned locker and unassigned nshy Feb 25, 2026
@locker locker added the full-ci Enables all tests for a pull request label Feb 26, 2026
@locker locker merged commit f56abf4 into tarantool:master Feb 26, 2026
88 of 89 checks passed
@locker locker deleted the vy-scheduler-unthrottle-fix branch February 26, 2026 10:01
@locker
Copy link
Member Author

locker commented Feb 26, 2026

Cherry-picked to 3.2, 3.3, 3.5, 3.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-ci Enables all tests for a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scheduler is not unthrottled by box.snapshot()

3 participants