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

Some retry operation from client did not set setPossibleDuplicate in event

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • None

    Description

      I fixed a bug GEODE-6899, where the retried UPDATE did not set event the version tag found from previous try.

      I searched other code and found there's one more place:
      basicBridgeRemove() should also add following lines like in basicBridgeDestroy:

      // if this is a replayed operation we may already have a version tag
      event.setVersionTag(clientEvent.getVersionTag());
      event.setPossibleDuplicate(clientEvent.isPossibleDuplicate());

      BTW, basicBridgeDestroy(), basicBridgeUpdateVersionStamp(), basicBridgeInvalidate() called
      event.setVersionTag(clientEvent.getVersionTag()); but they did not call "event.setPossibleDuplicate(clientEvent.isPossibleDuplicate());"

      I think it's better to keep all the code the same.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h