strip % sign from current_fork_perc info field (#8628)
`master_sync_perc` and `loading_loaded_perc` don't have that sign, and i think the info field should be a raw floating point number (the name suggests its units). we already have `used_memory_peak_perc` and `used_memory_dataset_perc` which do add the `%` sign, but: 1) i think it was a mistake but maybe too late to fix now, and maybe not too late to fix for `current_fork_perc` 2) it is more important to be consistent with the two other "progress" "prec" metrics, and not with the "utilization" metric.
This commit is contained in:
parent
62a197516b
commit
7778f1b4b0
@ -4801,7 +4801,7 @@ sds genRedisInfoString(const char *section) {
|
|||||||
"# Persistence\r\n"
|
"# Persistence\r\n"
|
||||||
"loading:%d\r\n"
|
"loading:%d\r\n"
|
||||||
"current_cow_size:%zu\r\n"
|
"current_cow_size:%zu\r\n"
|
||||||
"current_fork_perc:%.2f%%\r\n"
|
"current_fork_perc:%.2f\r\n"
|
||||||
"current_save_keys_processed:%zu\r\n"
|
"current_save_keys_processed:%zu\r\n"
|
||||||
"current_save_keys_total:%zu\r\n"
|
"current_save_keys_total:%zu\r\n"
|
||||||
"rdb_changes_since_last_save:%lld\r\n"
|
"rdb_changes_since_last_save:%lld\r\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user