yesodweb / yesodweb/persistent
Can not upload files, which are larger then about 128k, with persistent-mongoDB
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 486
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
When trying to use insert of update to upload a row in which there is a file(ByteString), it might be failed. It will not return any error or msg, but just wait, unless pass Ctrl+C. Build with same codes, PostgreSQL worked well.
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 reproducing the hang in the persistent-mongoDB backend with insert or update and a ByteString larger than about 128k; compare the same operation with PostgreSQL. Trace the MongoDB upload path from those operations and determine where the request stops progressing. Done means large file uploads complete or return an error instead of waiting indefinitely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell, mongodb
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100