Closed
Bug 470381
Opened 16 years ago
Closed 16 years ago
New search indexing failing because it is updating and inserting to slave db
Categories
(support.mozilla.org :: Knowledge Base Software, task, P1)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
0.8.1
People
(Reporter: nkoth, Unassigned)
References
Details
(Whiteboard: sumo_only)
Attachments
(1 file, 1 obsolete file)
8.29 KB,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Updated•16 years ago
|
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
Reporter | ||
Comment 2•16 years ago
|
||
this should make writes go to the master
Attachment #353874 -
Flags: review?(laura)
Updated•16 years ago
|
Attachment #353874 -
Attachment is patch: true
Attachment #353874 -
Attachment mime type: application/octet-stream → text/plain
Updated•16 years ago
|
Attachment #353874 -
Flags: review?(laura) → review-
Comment 3•16 years ago
|
||
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.
Reporter | ||
Comment 4•16 years ago
|
||
Attachment #353874 -
Attachment is obsolete: true
Attachment #353884 -
Flags: review?(laura)
Updated•16 years ago
|
Attachment #353884 -
Flags: review?(laura) → review+
Comment 5•16 years ago
|
||
Committed in trunk r21144, prod branch r21146.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 6•16 years ago
|
||
Trevor, is this something you could verify on the backend?
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Whiteboard: sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•