Comment 7 for bug 1060953

Revision history for this message
Jason Stephenson (jstephenson) wrote : Re: Random Internal Server Errors with TPAC

While opening one of these lists that always causes an Internal Server Error and checking the logs, I see this:

open-ils.cstore 2012-10-10 10:54:01 [INFO:2917:osrf_application.c:1040:] CALL: open-ils.cstore open-ils.cstore.json_query {"from":["unapi.bre",410637,"marcxml","record","{mra}","MVLC",0,"acn=>5,acp=>5",null,null,null]}
open-ils.cstore 2012-10-10 10:54:01 [INFO:2917:osrf_app_session.c:1017:] [open-ils.cstore] sent 4809 bytes of data to <email address hidden>/client_at_jasondev.mvlcstaff.org_2910
open-ils.cstore 2012-10-10 10:54:01 [INFO:2917:osrf_stack.c:163:] Message processing duration 0.004189
[2012-10-10 10:54:01] /usr/sbin/apache2 [INFO:2910:CStoreEditor.pm:113:] editor[1|65845] rolling back db session
[2012-10-10 10:54:01] /usr/sbin/apache2 [INFO:2910:CStoreEditor.pm:113:] editor[1|65845] request en-US open-ils.cstore.transaction.rollback []
open-ils.cstore 2012-10-10 10:54:01 [INFO:2775:osrf_app_session.c:1017:] [open-ils.cstore] sent 196 bytes of data to <email address hidden>/client_at_jasondev.mvlcstaff.org_2910
open-ils.cstore 2012-10-10 10:54:01 [WARN:2775:osrf_application.c:839:] Returning method exception with message: An unknown server error occurred

It looks like we're in get_records_and_facets, retrieving data when a CStoreEditor decides to roll back a transaction for no apparent reason. Perhaps it times out?

I have no idea at this point what causes this. The patron does have a deleted bib in their book bag, but removing that makes no difference.