AnsweredAssumed Answered

DbIdGenerator vs. Clustering

Question asked by theastax on Jan 27, 2015
Latest reply on Feb 9, 2015 by jbarrez
Hi there,

my question is kinda follow-up to
http://forums.activiti.org/content/clustering

Digging through the Activiti sources i tried and failed to unterstand how cluster compatibility is achieved in regards of the default id generator. I need to ensure our setup will not lead to any duplicate primary keys being assigned (currently: 2 servers with 2 workers on each and a shared database (Mysql > 5.6)).

I would be happy if someone could give me a hint how uniqueness is ensured.

Many thanks in advance

Thomas

Outcomes