frostfs-qos/scheduling
Dmitrii Stepanov f546741c3a
All checks were successful
DCO action / DCO (pull_request) Successful in 34s
Tests and linters / Run gofumpt (pull_request) Successful in 33s
Vulncheck / Vulncheck (pull_request) Successful in 37s
Tests and linters / Tests (pull_request) Successful in 50s
Tests and linters / Tests with -race (pull_request) Successful in 50s
Tests and linters / Staticcheck (pull_request) Successful in 1m6s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m18s
Tests and linters / Lint (pull_request) Successful in 1m32s
Tests and linters / gopls check (pull_request) Successful in 1m38s
[#12] mclock: Fix timer-based scheduling
Let's assume that there are two requests in the queue with execution time t1 and t2.
The timer is set to t1. The timer is triggered, schedules the t1 request,
calculates the time for the next timer t2 to be triggered.
But it doesn't schedules timer to this time because of the
`q.timeBasedScheduleTs > nextTs` check.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-03-19 16:00:50 +03:00
..
clock.go [#12] mclock: Fix timer-based scheduling 2025-03-19 16:00:50 +03:00
mclock.go [#12] mclock: Fix timer-based scheduling 2025-03-19 16:00:50 +03:00
mclock_bench.result [#1] mclock: Fix time based scheduling 2025-01-28 11:20:53 +03:00
mclock_bench_test.go [#1] mclock: Use time.Duration for idle timeout 2025-01-28 11:20:54 +03:00
mclock_test.go [#12] mclock: Fix timer-based scheduling 2025-03-19 16:00:50 +03:00
queue.go [#1] mclock: Refactor: split code between files 2025-01-28 11:20:53 +03:00