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

Adding logging to print the sorted datanodes list for topology aware read

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • None

    Description

      Context: The sortDatanodes method in the KeyManagerImpl class used to include logging to print the sorted list of datanodes for topology-aware reads. However, as part of the changes introduced in HDDS-9343, which moved the sortDatanodes logic to the OM (Ozone Manager), this logging was removed.

      Action Required: To reinstate this functionality, add logging to the sortByDistanceCost method—called from the KeyManagerImpl class—to print the sorted list of datanodes. This will help maintain visibility into the datanode sorting process in the new implementation.

      Attachments

        Issue Links

          Activity

            People

              varsha.ravi Varsha Ravi
              varsha.ravi Varsha Ravi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: