Uploaded image for project: 'mod-inventory'
  1. mod-inventory
  2. MODINV-668

Increase retries count for resolving Optimistic locking errors

    XMLWordPrintable

Details

    • Folijet Sprint 136
    • 1
    • Folijet
    • Lotus R1 2022
    • Third party component integration

    Description

      When importing file for 100k Update we observed 22 errors on our Perf Runcher.

      All 22 errors have the same root cause, the detailed error messages captured on the next screenshot. All these connected with retries logic for resolving Optimistic locking conflicts.

      As suggestion how to fix it we can increase number of retries in mod-inventory, there is separate parameter for doing this:

      private static final int MAX_RETRIES_COUNT = Integer.parseInt(System.getenv().getOrDefault("inventory.di.ol.retry.number", "1"));
      

      TestRail: Results

        Attachments

          1. b0c38e5b-b189-4153-9b7f-fdea4210b221.log
            7 kB
          2. ol-pgAdmin.jpg
            ol-pgAdmin.jpg
            259 kB
          3. screenshot-1.png
            screenshot-1.png
            166 kB
          4. screenshot-2.png
            screenshot-2.png
            442 kB

          Issue Links

            Activity

              People

                afedasiuk Aliaksandr Fedasiuk
                Nosko Serhii Nosko
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases