lance-format / lance-format/lance
Merge insert appears to have a memory leak
Open
Nobody has claimed this yet.
performance
- Dominant language
- Rust
- Stars
- 7.1k
- Forks
- 852
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 272
Description
We observe memory accumulating over time when there are a large number of merge inserts:
This happened after a recent update. Likely cause is the retries we added, but aren't quite sure yet why:
Contributor guide
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 by reviewing pull request 3614, which introduced the suspected retries, then reproduce the memory growth with a large number of merge inserts. Trace the merge-insert retry path and compare memory usage over time. Done means the accumulation is explained and no longer occurs during repeated large merge inserts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100