mirror of https://github.com/facebook/rocksdb.git
e6c5e0ab9a
Summary:
I noticed it would clean up some things to have Cache::Insert()
return our MemoryLimit Status instead of Incomplete for the case in
which the capacity limit is reached. I suspect this fixes some existing but
unknown bugs where this Incomplete could be confused with other uses
of Incomplete, especially no_io cases. This is the most suspicious case I
noticed, but was not able to reproduce a bug, in part because the existing
code is not covered by unit tests (FIXME added):
|
||
---|---|---|
.. | ||
cache_simulator.cc | ||
cache_simulator.h | ||
cache_simulator_test.cc | ||
sim_cache.cc | ||
sim_cache_test.cc |