Locks are not exception safe
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 8
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Locks are not exception-safe. update_snapshot() and delta_load() acquire locks but only release them at normal-function exits. Any error or interrupt between lock and unlock can leave stale locks.
To Reproduce
N/A
Expected behaviour
N/A
Screenshots
N/A
Provide output from sessionInfo()
N/A
- I have checked that the bug is not already described in open issues
Additional context
N/A
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 by locating the update_snapshot() and delta_load() entry points and tracing where each acquires and releases locks. Confirm the error and interrupt paths, then verify that every exit leaves no stale lock while preserving normal operation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100