Delete channel or resources task fails when attempting to release an expired Redis lock
See original GitHub issueObserved behavior
Both Delete channel
and Manage > Delete (all) resources
for that same channel are failing.
Asset from v0.14.4-weekly7
build on Windows 7.
The only content present was KA (EN) > Math > Arithmetic, and I was not able to delete neither the full channel, nor by selecting all the resources inside, as the task was reported as Failed
. I suspect just the DB was deleted but not the resources.
Expected behavior
Being able to delete channel/resources.
User-facing consequences
Inability to manage channels and resources on the device.
Errors and logs
Nothing jumped at me as relevant in the browser console, attaching the logs.
Steps to reproduce
- Download KA (EN) > Math > Arithmetic.
- Try to delete the channel and/or all the resources.
Context
Tell us about your environment, including:
- Kolibri version: v0.14.4-weekly7
- Operating system: Windows 7
- Browser: Firefox
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
EXPIRE - Redis
After the timeout has expired, the key will automatically be deleted. A key with an associated timeout is often said to be volatile...
Read more >How To Expire Keys in Redis - DigitalOcean
Redis keys are persistent by default, meaning that the Redis server will continue to store them unless they are deleted manually.
Read more >sewenew/redis-plus-plus: Redis client written in C++ - GitHub
If hiredis is installed at non-default location, you should use CMAKE_PREFIX_PATH to specify the installation path of hiredis. By default, redis-plus-plus ...
Read more >6.2.5 Locks with timeouts | Redis
To handle that situation, any time a client fails to get the lock, the client will check the expiration on the lock, and...
Read more >Maintenance Rake tasks - GitLab Docs
... locked by an Exclusive Lease can fail without releasing the lock. If you can't wait for it to expire, you can run...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing and opening #7697 with more detailed documentation
Additional detail: above fail happened when I selected to delete all the resources (<kbd>Manage</kbd> > select topic > <kbd>Delete</kbd>), but the workflow <kbd>Options</kbd> > Delete channel > select channel > <kbd>Delete</kbd> worked and wiped it in around 3 minutes.