Indexer-forums.php and indexer.php are not writing to the master db in production, so the indexing fails. Need to refactor code to use master database for writes UPDATE and INSERT Trevor will setup support-stage to use shadowdb so that these problems can be detected during staging
support-stage is configured to use the staging shadow database now. Previously it was using the master as the shadow, so writes to the shadow worked when they shouldn't.
Priority: -- → P1
Summary: New search indexing updating and inserting to slave db → New search indexing failing because it is updating and inserting to slave db
Target Milestone: --- → 0.8.1
Created attachment 353874 [details] [diff] [review] make writes go to master db this should make writes go to the master
Attachment #353874 - Flags: review?(laura)
Comment on attachment 353874 [details] [diff] [review] make writes go to master db All your mysql_query() calls need turning into tikilib->query(). You've missed a couple.
Created attachment 353884 [details] [diff] [review] better patch with more comprehensive refactoring and forceMaster
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Trevor, is this something you could verify on the backend?
You need to log in before you can comment on or make changes to this bug.