Closed Bug 948844 Opened 11 years ago Closed 11 years ago

[dev] stop reindexing every 15 minutes to reduce load on celery & db

Categories

(Participation Infrastructure :: Phonebook, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2013-12-19

People

(Reporter: sancus, Assigned: sancus)

References

Details

(Whiteboard: [kb=1212086] [qa-])

Right now, because we run the Chief update script automatically every 15 minutes on dev, it tries to index all the profiles every time. Since we are using a copy of the prod database, there are enough user accounts that this process takes a couple of minutes. That means that the index is incomplete much of the time, which causes QA tests to fail, as well as causing a large and unnecessary amount of load on Celery and the DB.
Whiteboard: [kb=1212086]
Blocks: 948557
Commit pushed to master at https://github.com/mozilla/mozillians https://github.com/mozilla/mozillians/commit/5d925d43fe0ba66b6c71cc89161ba00599d3dfe9 [Fix Bug 948844] Don't index profiles or ping newrelic if the same revision is pushed again on dev
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Please add verification steps or mark as [qa-], thanks.
This can't be verified on stage/prod, and requires new relic access. I've verified that deploy notifications on dev are only happening when new revisions are pushed, and indexing every 15 minutes has stopped as well. I've also not seen any of the intermittent test failures that were caused by the indexing. (from IRC) NR_DEPLOYMENT: [mozillians-dev.allizom.org] Fixing: bug #951445. https://rpm.newrelic.com/accounts/263620/applications/2728415/deployments/890509
Status: RESOLVED → VERIFIED
Whiteboard: [kb=1212086] → [kb=1212086] [qa-]
Assignee: nobody → sancus
Target Milestone: --- → 2013-12-19
You need to log in before you can comment on or make changes to this bug.