question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Delete channel or resources task fails when attempting to release an expired Redis lock

See original GitHub issue

Observed 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.

logs.zip

Steps to reproduce

  1. Download KA (EN) > Math > Arithmetic.
  2. 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:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jonboisercommented, Nov 18, 2020

Closing and opening #7697 with more detailed documentation

0reactions
radinamaticcommented, Nov 17, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found