Skip to Content
author's profile photo Former Member
Former Member

content catalog sync error

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)

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Best Answer
    Posted on Feb 12, 2018 at 12:46 PM

    You've got optimistic locking turned on


    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 is false

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Andrew Fletcher

      hi ,Andrew Fletche

      thank you very much , i have deleted item pk of '8796113174558'。and now , the console has no error information 。

      but deadlock info still in the synchronization interface.

      alt text

      just now ,i have faced the same issue in sync product catalog. but i resolve it.

      following is my operation:

      i saved stage data, just save and not do other things.

      and next, i sync product catalog . the error message has disappeared.

      10393-error1.jpg (42.5 kB)
  • Posted on Sep 05, 2018 at 10:58 PM

    I'm also facing the same issue, though the configuration is hjmp.throw.concurrent.modification.exceptions=false

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 10, 2018 at 03:02 PM

    Hello, In my case problem resolved do sync in one thread

    Add comment
    10|10000 characters needed characters exceeded