Skip to content

Two phase node deletion #2984

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Mar 23, 2023
Merged

Two phase node deletion #2984

merged 13 commits into from
Mar 23, 2023

Conversation

swilly22
Copy link
Contributor

This PR improve performance of node bulk deletion.
Deleting multiple nodes used to flush matrices adding a redundant overhead, with this change no flushes will occur.

@swilly22 swilly22 added the x:perf Performance related issue/PR ( not affecting functionality ) label Mar 23, 2023
@swilly22 swilly22 requested a review from AviAvni March 23, 2023 07:55
@codecov
Copy link

codecov bot commented Mar 23, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.05 ⚠️

Comparison is base (7731d1d) 90.46% compared to head (84331ae) 90.42%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2984      +/-   ##
==========================================
- Coverage   90.46%   90.42%   -0.05%     
==========================================
  Files         282      283       +1     
  Lines       27931    27979      +48     
==========================================
+ Hits        25268    25300      +32     
- Misses       2663     2679      +16     
Impacted Files Coverage Δ
src/execution_plan/ops/op_create.c 100.00% <100.00%> (ø)
src/execution_plan/ops/op_delete.c 97.60% <100.00%> (+0.12%) ⬆️
src/graph/graph.c 98.45% <100.00%> (-0.04%) ⬇️
src/graph/graph_delete_nodes.c 100.00% <100.00%> (ø)
src/graph/graph_hub.c 100.00% <100.00%> (ø)
src/undo_log/undo_log.c 98.57% <100.00%> (+0.04%) ⬆️

... and 4 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@swilly22 swilly22 merged commit 9976eae into master Mar 23, 2023
@swilly22 swilly22 deleted the two-phase-node-deletion branch March 23, 2023 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:perf Performance related issue/PR ( not affecting functionality )
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant