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

Separate srubber from pipeline creation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      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

            • Assignee:
              Unassigned
              Reporter:
              timmylicheng Li Cheng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: