tool_objectfs\task\generate_status_report hitting RDS memory limits
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start at tool_objectfs\task\generate_status_report and inspect how it builds the CTE and handles report generation. The issue proposes an optional path that populates a report table and purges it after each report; confirm the database behavior and existing tests for that task. Done means the report can run without exhausting database memory while retaining the existing default behavior.
Written by the indexing model from the issue text.
Description
There is a case that some Canada large Uni clients (York) have hit where the task that generates the status report is running out of memory when building a CTE.
In this case the problem is that MySQL (in theory that same could happen for PG) is creating a TEMP TABLE (in RAM) behind the scenes and running out a memory and failing as the record set is too much.
We have proposed a solution (not the default) where instead of creating the CTE we populate an actual report table (which gets purged after each report) so that the DB doesn't hit the same memory constraints.
- Dominant language
- PHP
- Stars
- 102
- Forks
- 85
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from catalyst/moodle-tool_objectfs
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
catalyst/moodle-tool_objectfs#717 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
catalyst/moodle-tool_objectfs#777 ·
-
Presigned URL redirects write a unique never read entry to core/htmlpurifier on every file requestPossibly taken @Alex-Accipio claimed this 23 days ago. Open
Difficulty 3/5 Half a day Newbie friendliness 62/100
catalyst/moodle-tool_objectfs#775 ·
-
TLS peer verification disabled on the pre-signed URL range request — should CURLOPT_SSL_VERIFYPEER be true?Possibly taken @PM84 claimed this 40 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
catalyst/moodle-tool_objectfs#770 ·
-
Difficulty 4/5 1-2 days Newbie friendliness 42/100
catalyst/moodle-tool_objectfs#761 ·
All issues in catalyst/moodle-tool_objectfs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
taskforcesh/bullmq#5238 ·
Maintainers usually reply within 1 day
-
[Bug] v-change-database-password reports success but doesn't change the password when MySQL validate_password rejects itPossibly taken @bfs2021 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Automattic/jetpack#55517 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
area/import type/enhancement when/later
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day