Details

    • Sub-task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.2.0, 2.0.0
    • 1.2.0, 2.0.0
    • proc-v2
    • 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-v0.patch
          33 kB
          Matteo Bertozzi
        2. HBASE-13759-v1.patch
          34 kB
          Matteo Bertozzi

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: