Skip to content

Mutation lock for server - #2664

Merged
fabianmurariu merged 8 commits into
db_v4from
graphql_mutation_lock
Jun 26, 2026
Merged

Mutation lock for server#2664
fabianmurariu merged 8 commits into
db_v4from
graphql_mutation_lock

Conversation

@ljeub-pometry

Copy link
Copy Markdown
Collaborator

What changes were proposed in this pull request?

  • Add locking around the working directory to avoid problems with concurrent mutations

Why are the changes needed?

Does this PR introduce any user-facing change? If yes is this documented?

How was this patch tested?

Are there any further changes required?

@ljeub-pometry
ljeub-pometry requested a review from ricopinazo June 24, 2026 13:13

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rust Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 868453e Previous: 9823ef7 Ratio
lotr_graph/num_edges 4 ns/iter (± 0) 0 ns/iter (± 0) +∞
lotr_graph/num_nodes 4 ns/iter (± 0) 1 ns/iter (± 0) 4
lotr_graph/has_node_nonexisting 5 ns/iter (± 0) 2 ns/iter (± 0) 2.50
lotr_graph/graph_latest 3 ns/iter (± 0) 0 ns/iter (± 0) +∞
lotr_graph_materialise/materialize 7659179 ns/iter (± 23595) 1564816 ns/iter (± 35303) 4.89
lotr_graph_window_100/num_nodes 13 ns/iter (± 0) 5 ns/iter (± 0) 2.60
lotr_graph_window_100_materialise/materialize 7730628 ns/iter (± 25365) 1669150 ns/iter (± 10700) 4.63
lotr_graph_window_10/has_node_existing 136 ns/iter (± 9) 62 ns/iter (± 11) 2.19
lotr_graph_window_10_materialise/materialize 3225864 ns/iter (± 11836) 971980 ns/iter (± 4278) 3.32
lotr_graph_subgraph_10pc_materialise/materialize 1988956 ns/iter (± 16405) 334634 ns/iter (± 1287) 5.94
lotr_graph_subgraph_10pc_windowed/has_node_existing 140 ns/iter (± 9) 62 ns/iter (± 14) 2.26
lotr_graph_subgraph_10pc_windowed_materialise/materialize 1201004 ns/iter (± 7466) 230399 ns/iter (± 2617) 5.21
lotr_graph_window_50_layered/num_edges_temporal 141327 ns/iter (± 1954) 70121 ns/iter (± 7586) 2.02
lotr_graph_window_50_layered/has_node_existing 384 ns/iter (± 20) 129 ns/iter (± 12) 2.98
lotr_graph_window_50_layered/has_node_nonexisting 5 ns/iter (± 0) 2 ns/iter (± 0) 2.50
lotr_graph_window_50_layered/graph_latest 82019 ns/iter (± 1454) 36649 ns/iter (± 916) 2.24
lotr_graph_window_50_layered_materialise/materialize 28179110 ns/iter (± 85547) 3488825 ns/iter (± 24948) 8.08
lotr_graph_persistent_window_50_layered/num_edges_temporal 576433 ns/iter (± 3849) 192686 ns/iter (± 1569) 2.99
lotr_graph_persistent_window_50_layered/has_node_existing 410 ns/iter (± 343) 174 ns/iter (± 83) 2.36
lotr_graph_persistent_window_50_layered/has_node_nonexisting 5 ns/iter (± 0) 2 ns/iter (± 0) 2.50
lotr_graph_persistent_window_50_layered/graph_latest 118731 ns/iter (± 3658) 57549 ns/iter (± 4809) 2.06
lotr_graph_persistent_window_50_layered_materialise/materialize 48316750 ns/iter (± 98456) 5298035 ns/iter (± 147912) 9.12

This comment was automatically generated by workflow using github-action-benchmark.

@fabianmurariu
fabianmurariu merged commit dbda813 into db_v4 Jun 26, 2026
34 checks passed
@fabianmurariu
fabianmurariu deleted the graphql_mutation_lock branch June 26, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants