Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-9608

CFA JAT Server Manager Crash - ProcessDailyStockBalanceByItem Entity Item Validation

    Details

    • Type: Sprint Defect
    • Status: Done (View Workflow)
    • Priority: Major
    • Resolution: Completed
    • Affects Version/s: CFA 2020R3
    • Fix Version/s: CFA 2020R3
    • Component/s: Inventory
    • Labels:
      None
    • SCRUM Team:
      Watchmen
    • Sprint:
      System Health Sprint 3

      Description

      This ticket is created to fix the https://jira.hotschedules.com/browse/MXINC-2331 issue. 

       

      According to our investigations, there were some dirty items found in 

      tbEntityItemDailyStockBalance and tbEntityItem tables. 

      Even though those items did not exist in the tbItem table they existed in those two tables. 

      And during ProcessDailyStockBalanceByItem job runs there is a recursive function that gets hit and the job never ends.  That was causing the Server manager to crash. 

      Two actions are being taken for to fix this issue: 

       

      1) Removed the dirty items from tbEntityItemDailyStockBalance and tbEntityItem tables. 

      2) and placing a check to control if the entity item relationship exists or not. If it does not then throw an exception. 

       

      erroring out the queue backup file is attached. 

       

        Attachments

          Activity

            People

            • Assignee:
              kevin.reid Kevin Reid (Inactive)
              Reporter:
              caner.saritac Caner Saritac
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10h Original Estimate - 10h
                10h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 14.5h
                14.5h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.