Skip to content
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

Memstore: Don't increment node ref count when duplicate is inserted #860

Merged
merged 1 commit into from
Oct 14, 2019

Conversation

dennwc
Copy link
Member

@dennwc dennwc commented Oct 14, 2019

Currently, all backends incorrectly increment node ref count when a duplicate quad is inserted.

This PR adds a test case for this issue (skipped for now) and fixes the behavior for the memstore. For other backends the fix will be way more involved, and deserves a separate PR.

Addresses #737


This change is Reviewable

@dennwc dennwc added this to the v0.7.6 milestone Oct 14, 2019
@dennwc dennwc self-assigned this Oct 14, 2019
@dennwc dennwc merged commit 57ebfa2 into cayleygraph:master Oct 14, 2019
@dennwc dennwc deleted the dup_quad branch October 14, 2019 09:33
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.

1 participant