mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 17:40:34 +00:00
There were two underflow bugs. 1) in variable i, causing get_level() to see an invalid level and throw an exception as a result. 2) when estimating number of pending tasks for a level. Fixes #1603. Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com> Message-Id: <cce993863d9de4d1f49b3aabe981c475700595fc.1471636164.git.raphaelsc@scylladb.com>