Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8376

Add cluster (de)activation events

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • None
    • Docs Required, Release Notes Required

    Description

      Currently, we do not have any way to detect that a cluster got activated, which results in busy-loops polling cluster().active().

      I suggest to add new events, EVT_CLUSTER_ACTIVATED, EVT_CLUSTER_DEACTIVATED, EVT_CLUSTER_ACTIVATION_FAILED which will be fired when corresponding steps are completed. The event should contain, if possible, information about the activation source (public API or auto-activation), topology version on which activation was performed. The fail event should contain information about the cause of the failure. If needed, a new class for this event should be introduced.

      Attachments

        Issue Links

          Activity

            People

              ibelyakov Igor Belyakov
              agoncharuk Alexey Goncharuk
              Votes:
              2 Vote for this issue
              Watchers:
              8 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 40m
                  1h 40m