Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct bytes_per_key computing. (redis#12897)
Change the calculation method of bytes_per_key to make it closer to the true average key size. The calculation method is as follows: mh->bytes_per_key = mh->total_keys ? (mh->dataset / mh->total_keys) : 0;
- Loading branch information