Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 2.0.0
    • Fix Version/s: 1.2.0, 2.0.0
    • Component/s: proc-v2
    • Labels:
      None

      Description

      Adds the ability to yield the procedure every execution step.
      by default, a procedure will try to go begin to end without stopping.
      This allows procedures to be nice to other procedures.
      one usage example is ServerShutdownHandler where we want everyone to make some progress.

      Allows procedure to throw InterruptedException, the default handling will be:
      "ask the master if there is an abort of stop. If there is, stop executions and exit. Else, clear the IE and carryon executing. the interruted procedure will retry".
      If the procedure implementor wants a different behavior, the IE can be catched and custom handling can be performed.

        Attachments

        1. HBASE-13759-v1.patch
          34 kB
          Matteo Bertozzi
        2. HBASE-13759-v0.patch
          33 kB
          Matteo Bertozzi

          Issue Links

            Activity

              People

              • Assignee:
                mbertozzi Matteo Bertozzi
                Reporter:
                mbertozzi Matteo Bertozzi
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: