Fix close exception and server-info EXPIRED_INTERVAL by zyxxoo · Pull Request #1804 · apache/hugegraph

@zyxxoo

also fix "The server with name xx already in cluster"

@zyxxoo

@zyxxoo

@codecov

javeme

* 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

@zyxxoo

javeme

@zyxxoo

@zyxxoo

javeme

@javeme javeme changed the title Fix close exception Fix close exception and server-info EXPIRED_INTERVAL

Apr 7, 2022

imbajin

@imbajin imbajin deleted the fix_close_exception branch

April 7, 2022 04:57