intermittent search failures

Bug #1651808 reported by Galen Charlton
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
2.10
Fix Released
Medium
Unassigned

Bug Description

Catalog searches in 2.11 and later can fail intermittently, with the following PostgreSQL error:

ERROR: type of parameter 56 (double precision) does not match that when preparing the plan (numeric)
CONTEXT: PL/pgSQL function search.query_parser_fts(integer,integer,text,integer[],integer[],integer,integer,integer,boolean,boolean,boolean,integer) line 319 at assignment

This looks like a variant of an issue that was found, and fixed, in bug 1549505. In particular, note the following comments:

https://bugs.launchpad.net/evergreen/+bug/1549505/comments/10
https://bugs.launchpad.net/evergreen/+bug/1549505/comments/18

Evergreen 2.11

Revision history for this message
Galen Charlton (gmc) wrote :

A patch is available at the tip of the user/gmcharlt/lp1651808_cast_rel_to_numeric branch in the working/Evergreen repository:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/gmcharlt/lp1651808_cast_rel_to_numeric

The bug may affect 2.10 in addition to 2.11, so I've targeted both.

tags: added: pullrequest search
Changed in evergreen:
milestone: none → 2.11.2
importance: Undecided → Medium
Revision history for this message
Mike Rylander (mrylander) wrote :

This makes perfect sense, and works for me. Getting this into the code now so that this weeks cuts (if they happen) are happier.

Changed in evergreen:
assignee: nobody → Mike Rylander (mrylander)
Revision history for this message
Mike Rylander (mrylander) wrote :

And .... complete. Thanks, Galen!

Changed in evergreen:
status: New → Fix Committed
Changed in evergreen:
assignee: Mike Rylander (mrylander) → nobody
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.