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

No tailMap needed for startIndex 0 in ContainerSet#listContainer

    XMLWordPrintableJSON

Details

    Description

      ContainerSet#listContainer has this code:

      This is equivalent to:

      map = containerMap;
      

      since tailMap is a sub-map with all keys larger than or equal to (inclusive=true) firstKey, which is the lowest key in the map. So it is a sub-map with all keys, ie. the whole map.

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m