After the start of my second node, in my 2 nodes cluster, I see a lot of this warning traced in the logs until the next restart of the node:
WARNING: org.bonitasoft.engine.scheduler.impl.BonitaJobStoreCMT This scheduler instance (myServer021635294656612) is still active but was recovered by another instance in the cluster. This may cause inconsistent behavior.
Could you let me know what could cause this warning logs and what inconsistent behavior it may cause?
I found the answer in the online documentation: https://documentation.bonitasoft.com/bonita/2021.2/runtime/install-a-bonita-bpm-cluster#_troubleshooting
Symptom: I regularly get this warning message when 2 or more nodes are started in cluster:
2016-06-13 11:41:22.783 +0200 WARNING: org.bonitasoft.engine.scheduler.impl.BonitaJobStoreCMT This scheduler instance (...) is still active but was recovered by another instance in the cluster. This may cause inconsistent behavior.
Root cause: The clocks of the servers are not synchronized.
Resolution: The system time of all cluster nodes must be maintained in synchronization with time servers. It is a good idea to have also the db server system time synchronized too. Synchronize the system time of all nodes and restart application servers.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.