openedx / openedx/openedx-platform
Delete course management command fails to clear Meilisearch
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.2k
- Forks
- 4.4k
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 42
Description
Note: We don't really support course deletion so this may be a low priority issue or "we need to solve this whole thing in a better way" issue, but I wanted to log it as a known thing.
Where: ./manage.py cms delete_course <key> → course_deleted signal → listen_for_course_delete (search indexing). Tutor main, Meilisearch 1.36.
Finding: the delete succeeds, but the course-info index removal fails with Index tutor_course_info: Attribute course is not filterable (available: catalog_visibility, enrollment_end, language, modes, org), so a deleted course may linger in the catalog search index until the next full reindex.
Contributor guide
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.
Research direction
Start with the ./manage.py cms delete_course command, follow the course_deleted signal to listen_for_course_delete, and reproduce the Meilisearch 1.36 filterability error for the tutor_course_info index. Done means deleting a course also removes its course-info entry from the catalog search index without requiring a full reindex.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100