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

Provide option to eagerly copy the new index files in CopyOnRead

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.17, 1.2.3, 1.3.3, 1.4
    • lucene
    • None

    Description

      Currently the CopyOnRead feature lazily starts copying the index files upon first access. This at times does not work efficiently because the index gets updated frequently and hence by the time copy is done index would have moved on. Due to this most of the index read turn out to be remote reads and cause slowness

      We should provide an option on per index basis to enable copying the files eagerly before exposing the new index to the query engine such that any read done is done locally

      Attachments

        1. OAK-3069.patch
          11 kB
          Chetan Mehrotra
        2. OAK-3069+logs.patch
          20 kB
          Alex Deparvu
        3. OAK-3069+logs-v2.patch
          20 kB
          Alex Deparvu

        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: