Open manuravi0323 opened 3 years ago
Hi @manuravi0323 ,
the lightmin client itself does not provide clustering. Each scheduler will work on its own.
For this scenario, the server scheduler and server cluster feature (released with 2.1.2) supports clustering and locks.
Currently, the project itself provides an implementation for infinispan for the locks and distributed caches. In order to provide an different implementation, e.g. Hazelcast, the LightminServerLockManager
interfaces must be implemented.
I hope this helps.
Scenario
Version Lightmin 2.1.1 Spring Boot 2.2.6.RELEASE
Issue How to tackle distributed locks so that the job is only run in one component? Is distributed lock mechanism not viable for the embedded lightmin version?