-
Notifications
You must be signed in to change notification settings - Fork 852
Feature/hybrid smart graph api #14037
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
Feature/hybrid smart graph api #14037
Conversation
…rid-smart-graph-api
…arangodb into feature/hybrid-smart-graph-api
…rid-smart-graph-api
This reverts commit 6b921d3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see comments.
We may need to talk offline about some please ping me
Co-authored-by: Michael Hackstein <michael@arangodb.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One bug inside.
Everything else LGTM
arangod/Graph/GraphManager.cpp
Outdated
} else { | ||
documentCollectionsToCreate.emplace(vertexColl); | ||
} | ||
if (graph->isHybrid() && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is now broken.
You merged 3 ifs not 2.
The behavior should be the following:
if vertexCol is in edgeCollectionsToCreate => Do nothing
else if hybrid() and vertexCol is in satelliteCollections => emplace in satelliteToCreate
else emplace in documentsToCreate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for spotting, done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Scope & Purpose
Basic API adjustments to be able to create hybrid smart graphs.