hi,All expert i faced an strange problem.
error occur in hybris5.7 when sync content catalog. following are error message.
ERROR [SyncWorker] (00008AM4) [AbstractItemCopyContext] could not copy data from 8796113174558 to 8796126380062 due to de.hybris.platform.persistence.hjmp.HybrisOptimisticLockingFailureException: item pk 8796126380062 was modified concurrently - expected database version 468 but got 469, entity state = GenericItemEntityState(PK=8796126380062,txbound=true,sid=79bfe67e,hjmpTS=469,hjmpTSBefore=468)
You've got optimistic locking turned on
hjmp.throw.concurrent.modification.exceptions=true
It throws an exception if any other Hybris thread has modified the database row since you last selected from it. However, I've never worked on a project with this turned on and my understanding is that it is legacy feature that doesn't necessarily work. The default for this value in advanced.properties
is false
I'm also facing the same issue, though the configuration is hjmp.throw.concurrent.modification.exceptions=false
Hello, In my case problem resolved do sync in one thread
Add a comment