Essentially a running MassIndexer might take too long to finish before a timeout in lock acquisition is triggered on a new master.
https://forum.hibernate.org/posting.php?mode=reply&f=9&t=1031507