activemq-artemis/artemis-server
shoukun c4bfb9521f ARTEMIS-1570 Flush appendExecutor before take journal snapshot
When live start replication, it must make sure there is
no pending write in message & bindings journal, or we may
lost journal records during initial replication.

So we need flush append executor after acquire StorageManager's
write lock, before Journal's write lock.
Also we set a 10 seconds timeout when flush, the same as
Journal::flushExecutor. If we failed to flush in 10 seconds,
we abort replication, backup will try again later.

Use OrderedExecutorFactory::flushExecutor to flush executor
2018-01-18 13:16:27 -05:00
..
src ARTEMIS-1570 Flush appendExecutor before take journal snapshot 2018-01-18 13:16:27 -05:00
pom.xml ARTEMIS-1510 refactor Maven poms 2017-11-13 17:03:35 -05:00