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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

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

    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

    Add a 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 a 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.