AnsweredAssumed Answered

ActivitiOptimisticLockException and multiple async executors

Question asked by tomekzaremba on Feb 22, 2016
Latest reply on Feb 24, 2016 by jbarrez
Hi,

why ActivitiOptimisticLockException is thrown after serviceTask is completed, not before its execution? During stress tests I can see, that executor which get AOLE done given serviceTask and after that exception is thrown, so task will be executed again?

Why lock is not checked before serviceTask execution? And another question - how I can handle such case to avoid such situations?

Outcomes