redis - 无法路由消息进行交换 'bulk' : Table empty or key no longer exists

标签 redis celery ckan

我在我的 CKAN 实例中安装了存档器扩展 ( https://github.com/ckan/ckanext-archiver/projects ),但无法使其在我的整个目录中工作。 “排队”过程(paster --plugin=ckanext-archiver archiver update --queue=bulk-c)在执行的某个时刻停止并显示下一条消息(通常是在上次处理的数据集少于 500 个数据集 -347 时) ):

kombu.exceptions.InconsistencyError:` 
Cannot route message for exchange 'bulk': Table empty or key no longer exists.
Probably the key ('_kombu.binding.bulk') has been removed from the Redis database.

我在互联网上找不到任何相关内容,我有点迷失了。我正在运行:

  • ckan 2.5.2
  • redis 2.10.1
  • celery 3.1.25

提前谢谢您。

最佳答案

这里有类似的问题 https://github.com/celery/kombu/issues/1063

This can happen if you set Redis to LRU mode or something similar. Please configure Redis correctly and increase the memory of your Redis instance.

关于redis - 无法路由消息进行交换 'bulk' : Table empty or key no longer exists,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51061043/

相关文章:

python - Redis 批量插入不起作用

nginx lua redis cookie 未设置

另一个函数内部的 Flask Celery update_state

python - 最佳实践 : automated web API testing

redis - 为什么 SignalR.Redis 在 NuGet 上不可用?

python - 多个工作节点上的 Django + Celery 任务

Django REST Framework 发出异步请求以响应

api - 有没有办法通过API调用访问私有(private)数据集

opendata - CKAN:收获特殊数据集

laravel - 如何在 laravel 5.7 中限制排队验证和密码重置通知电子邮件的速率