Bug 961652 - Sphinx upgrade from 2.0.4 to 2.0.7 broke support for 64-bit indexes
Summary: Sphinx upgrade from 2.0.4 to 2.0.7 broke support for 64-bit indexes
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: sphinx
Version: el6
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Christof Damian
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-10 07:41 UTC by Yury V. Zaytsev
Modified: 2013-05-10 15:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-10 08:00:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Yury V. Zaytsev 2013-05-10 07:41:36 UTC
Description of problem:

Upon upgrade from 2.0.4 to 2.0.7, I'm getting the following warnings:

WARNING: index 'xxx': preload: 'xxx.sph' is id64, and this binary is id32; NOT SERVING

The previous packaged version of sphinx used to identify itself as follows:

Sphinx 2.0.4-id64-release (r3135)

The new one shows this:

Sphinx 2.0.7-release (r3759)

Sounds like if --enable-64 was lost upon upgrade of the SPEC.

Version-Release number of selected component (if applicable):

sphinx-2.0.7-1.el6.x86_64

Actual results:

One has to delete all id64 indexes created with 2.0.4 and rebuild them with the new id32 2.0.7 binary.

Expected results:

Smooth upgrade that doesn't break working systems.

Additional info:

Apparently introduced in #849013.

Comment 1 Yury V. Zaytsev 2013-05-10 08:00:14 UTC
Okay, guys, it's my fault and I apologize for that.

The sphinx package that I was previously using (sphinx-2.0.4-1.rhel6.x86_64) came from CentALT, not EPEL. At that time EPEL still had something like ~0.9.8 if I remember correctly.

I've now checked the build logs and 64-bit document/word IDs were never enabled in any of EPEL / Fedora packages on any architecture, and so the transitions between these packages do not require rebuilding the indexes.

Comment 2 Yury V. Zaytsev 2013-05-10 15:54:04 UTC
Just to do CentALT some justice - I finally figured that the 'sphinx-2.0.4-1.rhel6.x86_64' originally came from the official download page of Sphinx:

http://sphinxsearch.com/downloads/release/


Note You need to log in before you can comment on or make changes to this bug.