Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5626

The discard logic in RecoverProtocolProcess is problematic.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.26.1, 0.27.3, 0.28.2
    • Fix Version/s: None
    • Component/s: replicated log
    • Labels:
      None

      Description

      The discard logic in RecoverProtocolProcess is problematic. It's likely that doing a 'discard' on the returned 'future' won't cause the RecoverProtocolProcess to terminate.

      Right now, this is what we do when reacting to a discard on the returned future:

      void discard()
      {
        terminating = true;
        chain.discard();
      }
      

      We expect that 'chain' will become terminal and terminate the process in 'finished'. However, it's likely that 'chain' is already terminal (e.g., during retry). As a result, the process might never be terminated.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jieyu Jie Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: