SOLID SERVER: Lock expired when creating large file
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 10
- Forks
- 7
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 6
Description
When creating a large file (either streaming or not), the server shuts down the connect from client with an error in the server log:
[WrappedExpiringReadWriteLocker] {Primary} error: Lock expired after 6000ms on RESOURCE_URL
community-server version: 7.0.2
Override the duration of WrappedExpiringReadWriteLocker in server configuration (as suggested here) with a larger value and then restart resulted in the same error (the override is not respected?)
Similar to this issue https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1843 but for POST and PUT requests.
Validate the issue with the latest server version and a minimal example, create an issue (if applicable) here https://github.com/CommunitySolidServer/CommunitySolidServer/issues
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the failure with the latest server version using a minimal example that creates a large file through streaming and non-streaming POST or PUT requests. Check whether the WrappedExpiringReadWriteLocker duration override is respected after restarting the server, and compare the result with issue 1843. Done means confirming the behavior and filing the applicable issue in CommunitySolidServer.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100