MongoEngine / MongoEngine/mongoengine
CachedReferenceField is buggy and has terrible performance
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 4h 41m
- Merged PRs (30d)
- 11
Description
CachedReferenceField has number of bugs and causes bad performance problem as there are a lot of hidden dereferencing that happens to keep the cached field aligned.
See discussion here #1047
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 by reading the discussion in issue #1047 to identify the reported CachedReferenceField bugs and the hidden dereferencing behavior. The issue does not name files, tests, or a defined completion condition, so the affected code and expected fixes must be established before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mongodb, python
- Domain
- database
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100