Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-859

Optimistic locking errors were detected when flushing to the data store

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The integration test logs sometimes show:

      Optimistic locking errors were detected when flushing to the data store. The following objects may have been concurrently modified in another transaction: ...

      FINERACT-857 has one (of many, this happens fairly regularly..) example logs of this happening. (FINERACT-858 will make the real root cause more clearly stand out in future logs.)

      I think we need to catch and handle this problem with explicit retries in the code. Perhaps we can draw inspiration from related work I've done in a previous life, from this code:

      BTW: This locking issue is probably (but I'm not 100% sure..) completely unrelated to the other one tracked in FINERACT-856.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: