Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8926 Umbrella for further EC improvements
  3. HDDS-9189

EC: Investigage how EC read path deals with unhealthy replicas

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      When SCM provides a read pipeline to a client, it simply returns a pipeline containing all replicas it knows about. The state of a replica is not included in the pipeline, so the client cannot distinguish between healthy and unhealthy replicas. However the pipeline nodes are sorted, so that if there are multiple replicas for a given replica index, and some of those nodes are not IN_SERVICE (eg decommissioning etc), then the IN_SERVICE nodes are always sorted first.

      On SCM we should be able to do something similar to put UNHEALTHY replicas to the back of the list, so the client will try to read healthy ones first.

      It is also worth checking what the client does when it encounters an unhealthy replica - will it fall back to reconstruction read, or if there is a spare index will it use it first?

      Attachments

        Activity

          People

            sodonnell Stephen O'Donnell
            sodonnell Stephen O'Donnell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: