in some circumstances, we have to perform some maintenance on the NFSv4 mount point, which is used by an Artemis MQ Shared store. Is there a safe way to do it without stopping the AMQ Cluster?
By shutting down the shared store for some seconds (about 20 seconds) and making it available again, it can produce random outcomes. Sometimes it works, sometimes not.
The failure is related to file locks and it is visible from the server logs as
“AMQ221034: Waiting indefinitely to obtain live lock”.
My idea is that, if some messages are in-flow when the shared store is in maintenance, then Artemis will not be able to obtain the file lock again.
If that is true, maybe pausing all queues could work? ( or anything which prevents artemis to write on the journal)
Thanks