You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a pretty bad bug because IF a user ever did this, the actual setting of the value succeeds and is persisted to the database. It then panics when trying to change the value in the semaphore. When cockroach starts back up it immediately panics again. This means if a user ever did this their database would be unstartable (even after applying #31572).
A more full fix may be to change the setting code to use the default value if the value in the setting at startup doesn't pass validation.
31572: storage: ensure kv.bulk_io_write settings are positive r=mjibson a=mjibson
Fixes#31571
Release note (bug fix): fix a panic when setting some kv.bulk_io_write
settings to a value < 1
Co-authored-by: Matt Jibson <[email protected]>
set cluster setting kv.bulk_io_write.concurrent_import_requests = 0
causes a panicThe text was updated successfully, but these errors were encountered: