bee icon indicating copy to clipboard operation
bee copied to clipboard

fix(localstore): leveldb-batch based transactions for both index and chunkstore for every localstore op

Open istae opened this issue 1 year ago • 0 comments

Checklist

  • [x] I have read the coding guide.
  • [ ] My change requires a documentation update, and I have done it.
  • [x] I have added tests to cover my changes.
  • [ ] I have filled out the description and linked the related issues.

Description

An extensive cleanup of the db transaction. Every localstore write operation now utilizes a transaction. Calls to the chunkstore are also part of the transaction.

also tackled: evict just enough chunks of a batch to fall below the reserve capacity

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

closes #4341 #4538

Screenshots (if appropriate):

istae avatar Jan 30 '24 19:01 istae