Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-430

Close piplineActions are duplicated in the HB response

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.1
    • SCM
    • None

    Description

      In case of a datanode failure the closePipline action will be sent to the datanodes.

      But there are a lot of actions for the same pipline:

       | pipelineActions {
      scm_1           |   pipelineActions {
      scm_1           |     action: CLOSE
      scm_1           |     closePipeline {
      scm_1           |       pipelineID {
      scm_1           |         id: "9df11f3a-565f-48bc-81f9-3b6c89876f47"
      scm_1           |       }
      scm_1           |       reason: PIPELINE_FAILED
      scm_1           |       detailedReason: "46e4a0a9-e7d1-4f51-9434-d001b477a804 has not seen follower/s e81b12d7-8234-4394-b621-dc71af4e3093 for 120331ms"
      scm_1           |     }
      scm_1           |   }
      scm_1           |   pipelineActions {
      scm_1           |     action: CLOSE
      scm_1           |     closePipeline {
      scm_1           |       pipelineID {
      scm_1           |         id: "9df11f3a-565f-48bc-81f9-3b6c89876f47"
      scm_1           |       }
      scm_1           |       reason: PIPELINE_FAILED
      scm_1           |       detailedReason: "46e4a0a9-e7d1-4f51-9434-d001b477a804 has not seen follower/s e81b12d7-8234-4394-b621-dc71af4e3093 for 120753ms"
      scm_1           |     }
      scm_1           |   }
      scm_1           |   pipelineActions {
      scm_1           |     action: CLOSE
      scm_1           |     closePipeline {
      scm_1           |       pipelineID {
      scm_1           |         id: "9df11f3a-565f-48bc-81f9-3b6c89876f47"
      scm_1           |       }
      scm_1           |       reason: PIPELINE_FAILED
      scm_1           |       detailedReason: "46e4a0a9-e7d1-4f51-9434-d001b477a804 has not seen follower/s e81b12d7-8234-4394-b621-dc71af4e3093 for 121154ms"
      scm_1           |     }
      scm_1           |   }
      scm_1           |   pipelineActions {
      scm_1           |     action: CLOSE
      scm_1           |     closePipeline {
      scm_1           |       pipelineID {
      scm_1           |         id: "9df11f3a-565f-48bc-81f9-3b6c89876f47"
      scm_1           |       }
      scm_1           |       reason: PIPELINE_FAILED
      scm_1           |       detailedReason: "46e4a0a9-e7d1-4f51-9434-d001b477a804 has not seen follower/s e81b12d7-8234-4394-b621-dc71af4e3093 for 121554ms"
      scm_1           |     }
      scm_1           |   }
      scm_1           |   pipelineActions {
      scm_1           |     action: CLOSE
      scm_1           |     closePipeline {
      scm_1           |       pipelineID {
      scm_1           |         id: "9df11f3a-565f-48bc-81f9-3b6c89876f47"
      scm_1           |       }
      scm_1           |       reason: PIPELINE_FAILED
      scm_1           |       detailedReason: "46e4a0a9-e7d1-4f51-9434-d001b477a804 has not seen follower/s e81b12d7-8234-4394-b621-dc71af4e3093 for 121955ms"
      scm_1           |     }
      scm_1           |   }
      scm_1           |   pipelineActions {
      scm_1           |     action: CLOSE
      scm_1           |     closePipeline {
      scm_1           |       pipelineID {
      scm_1           |         id: "9df11f3a-565f-48bc-81f9-3b6c89876f47"
      scm_1           |       }
      scm_1           |       reason: PIPELINE_FAILED
      scm_1           |       detailedReason: "46e4a0a9-e7d1-4f51-9434-d001b477a804 has not seen follower/s e81b12d7-8234-4394-b621-dc71af4e3093 for 122356ms"
      scm_1           |     }
      scm_1           |   }
      scm_1           |   pipelineActions {
      scm_1           |     action: CLOSE
      scm_1           |     closePipeline {
      scm_1           |       pipelineID {
      scm_1           |         id: "9df11f3a-565f-48bc-81f9-3b6c89876f47"
      scm_1           |       }
      scm_1           |       reason: PIPELINE_FAILED
      scm_1           |       detailedReason: "46e4a0a9-e7d1-4f51-9434-d001b477a804 has not seen follower/s e81b12d7-8234-4394-b621-dc71af4e3093 for 122756ms"
      scm_1           |     }
      scm_1           |   }
      scm_1           |   pipelineActions {
      scm_1           |     action: CLOSE
      scm_1           |     closePipeline {
      scm_1           |       pipelineID {
      scm_1           |         id: "9df11f3a-565f-48bc-81f9-3b6c89876f47"
      scm_1           |       }
      scm_1           |       reason: PIPELINE_FAILED
      scm_1           |       detailedReason: "46e4a0a9-e7d1-4f51-9434-d001b477a804 has not seen follower/s e81b12d7-8234-4394-b621-dc71af4e3093 for 123158ms"
      scm_1           |     }
      scm_1           |   }
      scm_1           |   pipelineActions {
      scm_1           |     action: CLOSE
      scm_1           |     closePipeline {
      scm_1           |       pipelineID {
      scm_1           |         id: "9df11f3a-565f-48bc-81f9-3b6c89876f47"
      scm_1           |       }
      scm_1           |       reason: PIPELINE_FAILED
      scm_1           |       detailedReason: "46e4a0a9-e7d1-4f51-9434-d001b477a804 has not seen follower/s e81b12d7-8234-4394-b621-dc71af4e3093 for 123559ms"
      scm_1           |     }
      scm_1           |   }
      scm_1           |   pipelineActions {
      scm_1           |     action: CLOSE
      scm_1           |     closePipeline {
      scm_1           |       pipelineID {
      scm_1           |         id: "9df11f3a-565f-48bc-81f9-3b6c89876f47"
      scm_1           |       }
      scm_1           |       reason: PIPELINE_FAILED
      scm_1           |       detailedReason: "46e4a0a9-e7d1-4f51-9434-d001b477a804 has not seen follower/s e81b12d7-8234-4394-b621-dc71af4e3093 for 123959ms"
      scm_1           |     }
      scm_1           |   }
      

      I would like to have only one.

      Attachments

        1. HDDS-430.001.patch
          1 kB
          Shashikant Banerjee
        2. HDDS-430.002.patch
          1 kB
          Shashikant Banerjee

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            shashikant Shashikant Banerjee
            elek Marton Elek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment