[new release] index and index-bench (1.3.1) #18606
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A platform-agnostic multi-level index for OCaml
CHANGES:
Fixed
Reduce allocations during merge (Reduce allocations during merge mirage/index#274, merge: only decode the value when necessary mirage/index#277)
Protect concurrent syncs with a lock (protect sync with a lock mirage/index#309)
Fixed a performance issue for
Index.sync
when there is a blocking merge inprogress: the
log_async
file was not cached properly and fully reloadedfrom disk every time. (Do not reload log_async on every sync mirage/index#310)
Release the merge lock if a merge raises an exception (index: release the merge lock if a merge raises an exception mirage/index#312)
Added fsync after
Index.clear
to signal more quickly to read-only instancesthan something has changed in the file (use fsync to flush metadata when reoperning a file with new headers mirage/index#308)
Changed
Specialise
IO.v
to create read-only or read-write instances. (Specialisev
to readonly and readwrite instances mirage/index#291)clear
removes the files on disks and opens new ones containing only theheader. (Remove files on disk on
clear
mirage/index#288, Simplifications on top of #288 mirage/index#307, Simplify clear again mirage/index#317)