JanusGraph / JanusGraph/janusgraph
Use unlockLocally for deleteLocks or remove it.
Open
@amcp is already working on this.
Since Jul 6, 2017.
kind/cleanup
- Dominant language
- Java
- Stars
- 5.8k
- Forks
- 1.2k
- Avg merge
- 13h 53m
- Merged PRs (30d)
- 6
Description
Method [unlockLocally](https://github.com/JanusGraph/janusgraph/blob/master/janusgraph-core/src/main/java/org/janusgraph/diskstorage/locking/AbstractLocker.java#L409) wraps a call to `llm.unlock()`. `llm.unlock()` is also called in [deleteLocks](https://github.com/JanusGraph/janusgraph/blob/master/janusgraph-core/src/main/java/org/janusgraph/diskstorage/locking/AbstractLocker.java#L396) but does not use the method. Use the private method in both places or remove it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.