Uploaded image for project: 'In-Commerce'
  1. In-Commerce
  2. MINC-134

Lock tables to generate unique order numbers

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2-B1
    • Component/s: General
    • Labels:
      None
    • Change Log Group:
      Fixed
    • Change Log Message:
      Non-unique order numbers were assigned, when more than 1 order was created per second.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      During order number generation (see "OrdersEventHandler::setNextOrderNumber" method) the affected tables must be locked to prevent parallel process access to unique source of last generated order number.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Gleb Sinkovskiy [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: