A library that provides an embeddable, persistent key-value store for fast storage.
GNU General Public License v2.0
27.85k
stars
6.2k
forks
source link
Assertion triggered when stats is enabled due to small buffer #12740
Open
ZLikuAxz opened 1 month ago
https://github.com/facebook/rocksdb/blob/a211e065520b80a2a5a28a795aae1a71e1b139dc/monitoring/statistics.cc#L533
If we set StatsLevel to All using
"StatsLevel": "All",
, rocksdb triggers assertion with the stack below:Because the fixed sized buffer is not long enough to hold the formatted string. Maybe should change
%f
to%g
?