Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5076 Follow-on work for FileSystemOptimizations(FSO)
  3. HDDS-4859

[FSO]ListKeys: seek all the files/dirs from startKey to keyPrefix

    XMLWordPrintableJSON

Details

    Description

      This is a follow-up task to HDDS-4683.  Say, we have below is the Ozone FS tree. 

                     buck-1
                      |
                      a
                      |
            ---------------------------------------
           |           |                           |
           b1          b2                          b3
         -----       -----------------          ----------
         |    |      |    |           |        |    |     |
        c1   c2     d1   d2           d3       e1   e2   e3
                        ------                 |
                       |      |                |
                    d21.txt  d22.txt        e11.txt
      

       

      ozoneBuck#listKeys("a/", "a/b2/d2/d21.txt"); should do back and forth search in FileTable and DirTable.

      Output list should be something like -> d22.txt, d3, b3, e1, e11.txt, e2, e3

       

      Attachments

        Issue Links

          Activity

            People

              rakeshr Rakesh Radhakrishnan
              rakeshr Rakesh Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: