Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
-
Reviewed
Description
MiniJournalCluster#restartJournalNode stops a JournalNode and then recreates a new one with the same configuration. However, it does not maintain a reference to the new JournalNode instance, so therefore it doesn't get stopped inside MiniJournalCluster#shutdown. The JournalNode holds a file lock on its underlying storage, so this can cause sporadic failures in tests like TestQuorumJournalManager.