Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12856

SoftIndexFileStore some index updates write too much to disk

    XMLWordPrintable

    Details

      Description

      SoftIndexFileStore when updating an index can do a few different operations. Of particular interest are MOVED (done by the compactor to update a moved entry to a new file location), DROPPED (done by the compactor when an entry is removed from a file) and UPDATE (when an entry has been updated from the log appender and it has replaced an old value).

      In all the mentioned cases all we should have to do is update the in memory LeafNode that points to the value and in some cases write directly to the disk with the updated file location. Currently it can cause an index reordering and rewriting the entire index to disk, which is very costly and should be reserved solely for adding or removing entries, not modifying existing index values.

        Attachments

          Activity

            People

            Assignee:
            william.burns Will Burns
            Reporter:
            william.burns Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: