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
Add possibility to remove composite index entries #3022
Conversation
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 only took a quick glance but this is great! Do you mind splitting it into two commits/PRs? Now it is a bit difficult to distinguish new changes from refactoring.
This functionality requires code refactoring due to many private static classes / methods. I can open a refactoring PR tomorrow and when it is merged I can rebase this PR. If so, the amount of changes will be much smaller in this PR and easier to understand |
Yeah that would be great! |
Related to JanusGraph#1099 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
Refactoring PR #3024 |
13ada03
to
1811ea4
Compare
Related to #1099 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
1811ea4
to
f23e33d
Compare
@li-boxuan the PR has been rebased |
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.
Sorry for the late review. I am very busy recently and cannot spend much time on JanusGraph. My comments are mostly related to user experience.
f23e33d
to
6880d9f
Compare
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.
Looks great, I just have some minor comments
janusgraph-core/src/main/java/org/janusgraph/graphdb/database/util/StaleIndexRecordUtil.java
Outdated
Show resolved
Hide resolved
janusgraph-core/src/main/java/org/janusgraph/graphdb/database/util/StaleIndexRecordUtil.java
Show resolved
Hide resolved
janusgraph-core/src/main/java/org/janusgraph/graphdb/database/util/StaleIndexRecordUtil.java
Outdated
Show resolved
Hide resolved
janusgraph-core/src/main/java/org/janusgraph/graphdb/database/util/StaleIndexRecordUtil.java
Outdated
Show resolved
Hide resolved
With this change it will be possible to remove stale composite index entries from the graph Related to JanusGraph#1099 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
6880d9f
to
d26085b
Compare
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 👍
Continuation of JanusGraph#3022 Related to JanusGraph#1099 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
Continuation of JanusGraph#3022 Related to JanusGraph#1099 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
Continuation of JanusGraph#3022 Related to JanusGraph#1099 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
Continuation of JanusGraph#3022 Related to JanusGraph#1099 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
Continuation of JanusGraph#3022 Related to JanusGraph#1099 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
Continuation of JanusGraph#3022 Related to JanusGraph#1099 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
Continuation of JanusGraph#3022 Related to JanusGraph#1099 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
…s or edges Continuation of JanusGraph#3022 Related to JanusGraph#1099 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
…s or edges Continuation of JanusGraph#3022 Related to JanusGraph#1099 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
…constraint Related to JanusGraph#1099 and JanusGraph#3022 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
…constraint Related to JanusGraph#1099 and JanusGraph#3022 Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
@@ -0,0 +1,47 @@ | |||
# Permanent stale index inconsistency |
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.
@porunov It seems you forgot to add this doc to the nav config. As a result, this page won't be visible to users.
With this change it will be possible to remove stale composite index entries from the graph.
Current limitations:
Related to #1099
Signed-off-by: Oleksandr Porunov alexandr.porunov@gmail.com
Thank you for contributing to JanusGraph!
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:
master
)?For code changes:
For documentation related changes: