Fix close exception and server-info EXPIRED_INTERVAL by zyxxoo · Pull Request #1804 · apache/hugegraph
| * eventHub execute notify event on a shutdown executor, so here | ||
| * remove the HugeFactory shutdown hook. | ||
| */ | ||
| HugeFactory.removeShutdownHook(); |
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()
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
javeme
changed the title
Fix close exception
Fix close exception and server-info EXPIRED_INTERVAL
imbajin
deleted the
fix_close_exception
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters