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
Does modifying an edge property delete the edge and create a new one? #934
Comments
I am not 100% sure but I don't think edge update leads to tombstones (unless you are using ConsistencyModifier.FORK because that means you have to delete the old edge and create a new one with a different id). See janusgraph/janusgraph-core/src/main/java/org/janusgraph/diskstorage/Mutation.java Lines 144 to 167 in b26b703
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was reading through this Stack Overflow post, which states that modifying edges will delete them and create new ones with the updated properties instead. In cassandra, this would effectively lead to tombstones due to the deletion.
Your latest documentation however suggests in 29.1.1.1. Forking Edges, that this behaviour is only seen when edge labels use
ConsistencyModifier.FORK
.Which is true? This is the first I've heard of this potential issue; My application is heavily modifying edges, thus I need to know if such an approach is even scaleable.
Also, if the documentation says:
does that mean that the conflicting transaction would overwrite any results written by the previous one, or simply fail?
The text was updated successfully, but these errors were encountered: