here-data-sdk-cpp icon indicating copy to clipboard operation
here-data-sdk-cpp copied to clipboard

POC: Check available space before writing

Open andrey-kashcheev opened this issue 2 years ago • 1 comments

Try to check available space before writing to ensure that we could rollback from 'no space left' situation as leveldb requires space even for delete operations.

Relates-To: OAM-2013

andrey-kashcheev avatar May 17 '23 10:05 andrey-kashcheev

Codecov Report

Merging #1400 (dbabae2) into master (3c5794f) will decrease coverage by 0.01%. The diff coverage is 73.91%.

:exclamation: Current head dbabae2 differs from pull request most recent head 4c22461. Consider uploading reports for the commit 4c22461 to get more accurate results

@@            Coverage Diff             @@
##           master    #1400      +/-   ##
==========================================
- Coverage   80.71%   80.70%   -0.01%     
==========================================
  Files         337      337              
  Lines       12600    12624      +24     
  Branches     1360     1363       +3     
==========================================
+ Hits        10170    10188      +18     
- Misses       1881     1887       +6     
  Partials      549      549              
Impacted Files Coverage Δ
olp-cpp-sdk-core/src/cache/DiskCache.cpp 56.04% <73.91%> (+1.49%) :arrow_up:

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar May 17 '23 11:05 codecov[bot]