Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-1048

Disable MEX_MATCHER job

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.7, 1.4
    • BPEL Runtime
    • None

    Description

      MEX_MATCHER job is triggered after registering an Early arriving message.

      Early arriving messages are normally picked up when the MATCHER job executes. MEX_MATCHER is an overhead and there is lot of contention seen between MATCHER and MEX_MATCHER jobs under load.

      There is deadlock situation arising between MEX_MATCHER and MATCHER jobs running concurrently.

      MEX_MATCHER
      1) lockPrimieMessages (locks all records in BPEL_UNMATCHED using the mex)

      MATCHER
      1) findRoute (locks route in BPEL_SELECTOR based on single correlation key set canonical value)

      MEX_MATCHER
      2) tries to findRoute (locked by Matcher)

      MATCHER
      2) tries to dequeueMessage (locked by Mex_Matcher)

      Results in a deadlock.

      Possible solution to overcome this deadlock:
      Move the dequeueMessage call above the findRoute call in matcherEvent.

      This is a proposal to deactivate MEX_MATCHER jobs. Henceforth, MEX_MATCHER jobs will not be triggered after an early message is registered.

      In case MEX_MATCHER is necessary, kindly revert the changes done in this ticket.

      Attachments

        Issue Links

          Activity

            People

              sathwik Sathwik
              sathwik Sathwik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: