Skip to content

Fixed 500ing CSV reports - #2461

Merged
flowerhack merged 1 commit into
masterfrom
flowerhack/fix/csv-using-read-replica
Feb 4, 2014
Merged

Fixed 500ing CSV reports#2461
flowerhack merged 1 commit into
masterfrom
flowerhack/fix/csv-using-read-replica

Conversation

@flowerhack

Copy link
Copy Markdown
Contributor

The more query-intensive CSV reports use the function use_read_replica_if_available to force them to use the read replica if they can.

Some misplaced parenthesis resulted in this function being called on ints and dicts instead of queries, causing 500's on download attempts.

This issue was not evident on sandbox/devstack/stage, but the use_read_replica_if_available function was added after load testing on dev, which is probably why it wasn't caught on dev. Sorry :(

@flowerhack

Copy link
Copy Markdown
Contributor Author

@dianakhuang @ormsbee

@dianakhuang

Copy link
Copy Markdown
Contributor

👍

1 similar comment
@ormsbee

ormsbee commented Feb 4, 2014

Copy link
Copy Markdown
Contributor

👍

flowerhack pushed a commit that referenced this pull request Feb 4, 2014
@flowerhack
flowerhack merged commit aeb7bbf into master Feb 4, 2014
@flowerhack
flowerhack deleted the flowerhack/fix/csv-using-read-replica branch February 4, 2014 19:56
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Mar 23, 2018
* Add ORA2 video upload option openedx#2375 (openedx#2417)

* Modified courseware page look and feel openedx#2377 (openedx#2409)

* Modified about page openedx#2379 (openedx#2413)

* Fix biz bugs. openedx#2404 (openedx#2406)

* Fix display width of popup. (openedx#2384)

(cherry picked from commit a43c935a575d15fcf629f0edeb81446c778cda95)

* Validate duplicate url-code.

* Fix bug, when course not found.

* Fix order of course as CourseOverview.

* Remove additional-info count from contract grid. openedx#2419 (openedx#2437)

* Fix order global course. openedx#2420 (openedx#2421)

* Add additional info register. openedx#2419 (openedx#2433)

* fix survey csv character encode problem openedx#2380 (openedx#2434)

* Fix bokchoy for LoginCodeEnabledBizSurveyTest. (openedx#2457)

* Fix register students confirm message. (openedx#2461)

* Add command to check playback_log. openedx#2438 (openedx#2445)

* Fix courseware page lookandfeel (openedx#2446, openedx#2439, openedx#2452, openedx#2453)

* Fix box-shadow of sequence-nav-button. openedx#2453 (openedx#2467)

* Fix bugs. openedx#2462 openedx#2463 (openedx#2464)

* Fix password message in register students page.

* Fix glass pane of processing when register additional item.

* Fix display width of popup. (openedx#2466)

* Fix min-width of sequence-nav. openedx#2468 (openedx#2469)

* Fix isRegistered javascript in about page openedx#2470 (openedx#2471)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants