Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-18315

Add metrics channel removal errors

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • v2.3.0
    • fabric-orderer

    Description

      The intention in that task is that a channel that fails catastrophically will stop and report a new status types.StatusFailure instead of panicking and crashing the server.

      If we had that error code already, I would be inclined to suggest that the map would include a struct with

       

      {{

      { cRel types.ClusterRelation status types.Status }

      }}

      you could then insert into the map {"member", "inactive"} or {"follower", "inactive"} when you start the removal, delete that when removal ends successfully, and put {"member", "failure"} or {"follower", "failure"} if something goes wrong.

       

      Add new cluster status to existing gauge for node's status and report status when channel remove fails. 

      Attachments

        Issue Links

          Activity

            People

              tsharris Tiffany Harris
              tsharris Tiffany Harris
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: