RFE: allow unsafe MappedFileVol.ensureAvailable
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 5.1k
- Forks
- 877
- PR merge metrics
- No merged PRs in 30d
Description
I suggest to allow disable calling of raf.getFD().sync(); in MappedFileVol.ensureAvailable without MapDB recompilation.
'sync' will ENABLED by default.
My test case (on SSD):
sync ENABLED: 3min 50s
sync DISABLED: 2min 40s
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at MappedFileVol.ensureAvailable and inspect how raf.getFD().sync() is called. Determine how the sync behavior could be configured without recompiling MapDB, while keeping it enabled by default. Done means the option is available and the existing default behavior remains unchanged; use the SSD timing comparison in the issue as a performance reference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- database
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100