Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2809

Save Lucene directory listing as array property

    XMLWordPrintableJSON

Details

    Description

      OakDirectory has to at times perform directory listing specially at the time of opening of index. With DocumentNodeStore such listing of child nodes "might" be slow if there are lots more deleted nodes and GC has not cleared them so far (due to OAK-1557).

      As seen in OAK-2808 Lucene might be creating and deleting lot more files. To speed up such lookup one OakDirectory can save the listing of child nodes as an array property once the writer is closed.

      Attachments

        1. OAK-2809-v2.patch
          16 kB
          Chetan Mehrotra
        2. OAK-2809.patch
          13 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: