Closed Little-Wallace closed 4 years ago
Signed-off-by: Little-Wallace bupt2013211450@gmail.com
I collect index of entries when writing it to PipeLog so that we can only compact cache with these index and do not need to read LogBatch from PipeLog any more.
PipeLog
LogBatch
This refactor may cause too large memory use for cache. We will discuss it in future.
Signed-off-by: Little-Wallace bupt2013211450@gmail.com
I collect index of entries when writing it to
PipeLog
so that we can only compact cache with these index and do not need to readLogBatch
fromPipeLog
any more.