Overwrite flag in create_graph in GraphQL is not atomic
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 642
- Forks
- 70
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 21
Description
the overwrite currently just deletes any existing graph but it might get recreated resulting in weird failure scenarios
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 locating the GraphQL create_graph entry point and tracing how the overwrite flag removes and recreates an existing graph. Add a concurrency-focused test that exercises simultaneous overwrite and creation, then verify that the operation behaves atomically without the reported failure scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, rust
- Domain
- api, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100