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

Separate srubber from pipeline creation

    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

          People

            Unassigned Unassigned
            timmylicheng Li Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: