Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6816 Review SolrCloud Indexing Performance.
  3. SOLR-7332

Seed version buckets with max version from index

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2, 6.0
    • SolrCloud
    • None

    Description

      See full discussion with Yonik and I in SOLR-6816.

      The TL;DR of that discussion is that we should initialize highest for each version bucket to the MAX value of the _version_ field in the index as early as possible, such as after the first soft- or hard- commit. This will ensure that bulk adds where the docs don't exist avoid an unnecessary lookup for a non-existent document in the index.

      Attachments

        1. SOLR-7332.patch
          37 kB
          Timothy Potter
        2. SOLR-7332.patch
          35 kB
          Yonik Seeley
        3. SOLR-7332.patch
          35 kB
          Timothy Potter
        4. SOLR-7332.patch
          21 kB
          Timothy Potter
        5. SOLR-7332.patch
          21 kB
          Timothy Potter

        Issue Links

          Activity

            People

              thelabdude Timothy Potter
              thelabdude Timothy Potter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: