tikv / agatedb

A persistent key-value storage in rust.
Apache License 2.0
835 stars 77 forks source link

db/opt: adjust arena size based on mem-table-size to prevent arena grow #151

Closed zhangjinpeng87 closed 2 years ago

zhangjinpeng87 commented 2 years ago

adjust arena size based on mem-table-size to prevent arena grow in most cases.

Signed-off-by: zhangjinpeng1987 zhangjinpeng@pingcap.com

codecov[bot] commented 2 years ago

Codecov Report

Merging #151 (5474597) into master (6972d08) will increase coverage by 0.03%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
+ Coverage   85.75%   85.78%   +0.03%     
==========================================
  Files          36       36              
  Lines        6737     6753      +16     
==========================================
+ Hits         5777     5793      +16     
  Misses        960      960