You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/06/25 09:07:18 UTC

[GitHub] [ozone] JacksonYao287 commented on a change in pull request #2371: HDDS-5390. reconPipelineReportHandler don't retry when pipeline not found

JacksonYao287 commented on a change in pull request #2371:
URL: https://github.com/apache/ozone/pull/2371#discussion_r658613549



##########
File path: hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/PipelineReportHandler.java
##########
@@ -93,6 +93,9 @@ public void onMessage(PipelineReportFromDatanode pipelineReportFromDatanode,
       } catch(NotLeaderException ex) {
         // Avoid NotLeaderException logging which happens when processing
         // pipeline report on followers.
+      } catch(PipelineNotFoundException pnfe) {

Review comment:
       what i want to do here is to handle this 
   ```
         Pipeline pipelineFromScm =
             scmServiceProvider.getPipeline(report.getPipelineID());
   ```
   here , a scmclient is used to confirm the pipeline existence to scm, and this will take a grpc call.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org