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

Separate srubber from pipeline creation

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

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Xiaoyu's Review from HDDS-1564:

      BackgroundPipelineCreator.java

      Line 115: should we separate the scrubber from the pipeline creation. This way the creation and destroy pipeline are executed independently.

       

      Comment from Li:

      Currently BackgroundPipelineCreator is having its own bg thread and scheduler, but its solely operations are scrubbing pipelines and creating pipelines. Do we need to have background thread for destroying pipelines? I feel like we want to maintain this thread for all pipeline background operations. Shall I refactor BackgroundPipelineCreator to BackgroundPipelineHandler? So that all bg pipeline operations can be handled by this thread.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            timmylicheng Li Cheng

            Dates

              Created:
              Updated:

              Slack

                Issue deployment