mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-26 01:48:27 -05:00
0f15e025e6
There's a race between testing DBSIZE and the thread starting. If the thread hadn't started by the time we checked DBISZE, no keys will have been evicted. The correct way is to check the evicted_keys stat.