Incorrect fg_write_max_bytes_per_sec
when set max_bytes_per_sec
small than total weight
#5401
Labels
fg_write_max_bytes_per_sec
when set max_bytes_per_sec
small than total weight
#5401
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
master
5. Why does this bug occur?
in dbms/src/Server/StorageConfigParser.cpp
where
max_bytes_per_sec
andtotalWeight()
areUInt64
variables. andtotalWeight() = 100
, somax_bytes_per_sec / totalWeight() = 0
.The text was updated successfully, but these errors were encountered: