Solr
  1. Solr
  2. SOLR-3745

SolrCore should fail to init in SolrCloud mode if schema does not contain _version_ field

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      Basic SolrCloud consistency requires there to be a version field in the schema.xml, but nothing currently enforces this. We need a clear and straight forward error in this case so users attempting to upgrade from existing single node Solr setups to multinode SolrCloud setups know they need to modify their configs.

        Issue Links

          Activity

          Hide
          Hoss Man added a comment -

          patch building on SOLR-3746 with the basic error checking in SolrCore ... works fine in manual testing, but i'm not really sure how to write an automated test for this ... our existing "TestBadDConfig" isn't really setup for testing config failures in cloud mode.

          need to look into that a bit more

          Show
          Hoss Man added a comment - patch building on SOLR-3746 with the basic error checking in SolrCore ... works fine in manual testing, but i'm not really sure how to write an automated test for this ... our existing "TestBadDConfig" isn't really setup for testing config failures in cloud mode. need to look into that a bit more
          Hide
          Hoss Man added a comment -

          Committed revision 1377898. - trunk
          Committed revision 1377899. - 4x

          I couldn't figure out a good way to test this, but i also didn't want it to be left out of 4.0 waiting to figure it out.

          Show
          Hoss Man added a comment - Committed revision 1377898. - trunk Committed revision 1377899. - 4x I couldn't figure out a good way to test this, but i also didn't want it to be left out of 4.0 waiting to figure it out.
          Hide
          Uwe Schindler added a comment -

          Closed after release.

          Show
          Uwe Schindler added a comment - Closed after release.

            People

            • Assignee:
              Hoss Man
              Reporter:
              Hoss Man
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development