You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Nidhi Srivastava (Jira)" <ji...@apache.org> on 2021/04/16 02:38:00 UTC

[jira] [Created] (SOLR-15343) For same change in schema file(new field _version_ added) ,Solr core in lower environment is working fine but in production solr cores failing

Nidhi Srivastava created SOLR-15343:
---------------------------------------

             Summary: For same change in schema file(new field _version_ added) ,Solr core in lower environment is working fine but in production solr cores failing
                 Key: SOLR-15343
                 URL: https://issues.apache.org/jira/browse/SOLR-15343
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Nidhi Srivastava


The project is using solr 6.6 with one core. There is one schema.xml file. The change was done in schema file by adding new field

<field name="_version_" type="int" indexed="true" stored="true" multiValued="false"/> .

The core has indexed data from previous import. 

After change in schema file when we tried to restart solr received error  java.lang.NumberFormatException:java.lang.NumberFormatException: Invalid shift value (64) in prefixCoded bytes (is encoded value really an INT?)

 

Issue: The same steps were followed in two environments with same core structure and setup 

The issue happened in production environment, but not in lower environment (The lower environment in exact replica of production in terms of server configuration and data ) 

We checked all configuration files in lower environment (They are matching with prod)

Both cores had indexed data when this change was done.

 

 

Fix done in prod:

When we reverted the schema changes and then started the solr , core was up and running.

No data was corrupted either.

 

I have referred the link 

https://issues.apache.org/jira/browse/SOLR-10806

 

Help Needed: To understand why lower environment is running with same change and production environment gave error.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org