Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3746

updateLog should fail to init if there is no _version_ field in schema.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.0-ALPHA, 4.0-BETA
    • 4.0, 6.0
    • None
    • None

    Description

      Per irc conversation with yonik, it's not clear if updateLog works correctly in all situations if there is no _version_ field in the schema...

      • it's certainly not tested
      • SOLR-3432 makes it clear there are at least some problematic sitautions

      For these reasons, updateLog initialization should fail fast with a clear error if there is no _version_ field in the schema.

      (we can always relax this restriction later if people write the code/tests for it)

      Attachments

        1. SOLR-3746.patch
          5 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: