Skip to content
Snippets Groups Projects
Commit 72ed987d authored by David Ormsbee's avatar David Ormsbee
Browse files

Enable model-caching of discussions ID mapping.

Doing modulestore lookups is expensive, so commit 695b0362 created a
course_publish listener that would materialize the discussion ID to
XBlock usage key mapping into the CourseDiscussionSettings model.

However, the signal wasn't hooked up to the Studio process, so that
async task was never called. When hooking it up, I also discovered that
bok choy tests related to partitioning were failing because of a race
condition where multiple processes are overwriting the discussion
settings. To make sure this wasn't an issue, I moved the mapping to
its own table.

This is part of ARCH-111, and the overall Course Structures API
deprecation.
parent a2d16de8
Branches
Tags release-2020-06-18-04.55
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment