-
Notifications
You must be signed in to change notification settings - Fork 525
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
Fix close exception and server-info EXPIRED_INTERVAL #1804
Conversation
2eb6c9b
to
f141447
Compare
Codecov Report
@@ Coverage Diff @@
## master #1804 +/- ##
============================================
+ Coverage 66.93% 70.90% +3.96%
- Complexity 980 982 +2
============================================
Files 446 446
Lines 37781 37902 +121
Branches 5380 5398 +18
============================================
+ Hits 25289 26873 +1584
+ Misses 9768 8299 -1469
- Partials 2724 2730 +6
Continue to review full report at Codecov.
|
hugegraph-api/src/main/java/com/baidu/hugegraph/auth/ContextGremlinServer.java
Show resolved
Hide resolved
hugegraph-dist/src/main/java/com/baidu/hugegraph/dist/HugeGraphServer.java
Outdated
Show resolved
Hide resolved
hugegraph-dist/src/main/java/com/baidu/hugegraph/dist/HugeGraphServer.java
Outdated
Show resolved
Hide resolved
* eventHub execute notify event on a shutdown executor, so here | ||
* remove the HugeFactory shutdown hook. | ||
*/ | ||
HugeFactory.removeShutdownHook(); |
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.
also add graph.tx().close() to checkVersionOrExit()
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.
now, threadpool wait graph close, but close check tx all close(need threadpool shutdown), so here is a conflict, so we resolve this problem must close before notify thread close tx(AOP threadpool), maybe i can do it after java11 code be merged
hugegraph-dist/src/main/java/com/baidu/hugegraph/dist/HugeGraphServer.java
Outdated
Show resolved
Hide resolved
7c90f05
to
31fb13f
Compare
31fb13f
to
5a851d7
Compare
also fix "The server with name xx already in cluster"