Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-2787

state flush did not wait for notifyGateway

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      When distribution happened, it calls startOperation() to increase a count, then call an endOperation() to decrease the count.

      state flush will wait for this count to become 0.

      But notifyGateway() is called after distribute(). So there's race that stateflush finished but notifyGateway has not done yet.

      The fix is to move the endOperation() after callbacks.

        Attachments

          Activity

            People

            • Assignee:
              zhouxj Xiaojian Zhou
              Reporter:
              zhouxj Xiaojian Zhou
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: