6.0.0-beta1
7/6/25

[#13099] redis: Cannot use DEL with a cluster of connections
Summary redis: Cannot use DEL with a cluster of connections
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester software-horde (at) interfasys (dot) ch
Created 04/07/2014 (4108 days ago)
Due
Updated 04/23/2014 (4092 days ago)
Assigned
Resolved 04/16/2014 (4099 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/23/2014 12:48:34 PM software-horde (at) interfasys (dot) ch Comment #6 Reply to this comment

[Show Quoted Text - 10 lines]
Now I understand and the patch fixes it. It's the fact that this was 
filed as "not a bug" which threw me off.

04/23/2014 07:16:30 AM busywater (at) gmail (dot) com Comment #5 Reply to this comment
OK...but we're not using clustering. Our config hasn't changed. There
is only one server and yet Horde thinks it's a cluster.
Horde doesn't think anything.  Predis is in charge of interacting 
with the redis server, and it treats array config output as mutliple 
servers, regardless of whether there is only 1 server configured.
I confirm this fixes the problem.
04/21/2014 07:50:06 PM Michael Slusarz Comment #4 Reply to this comment
OK...but we're not using clustering. Our config hasn't changed. 
There is only one server and yet Horde thinks it's a cluster.
Horde doesn't think anything.  Predis is in charge of interacting with 
the redis server, and it treats array config output as mutliple 
servers, regardless of whether there is only 1 server configured.
04/19/2014 06:54:58 PM software-horde (at) interfasys (dot) ch Comment #3 Reply to this comment
OK...but we're not using clustering. Our config hasn't changed. There 
is only one server and yet Horde thinks it's a cluster.

04/07/2014 04:33:56 PM software-horde (at) interfasys (dot) ch Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ redis: Cannot use DEL with a cluster of connections
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
After a recent package update, Horde crashes when a user logs out. 
I've checked the Horde config and the hashtable DB seems properly 
configured, using redis, localhost and the appropriate port.

Here is the stacktrace:
A fatal error has occurred

Cannot use DEL with a cluster of connections

  1. Horde_Registry->clearAuth() /www/html/horde/login.php:103
  2. Horde_Registry->callAppMethod() 
/usr/local/php/lib/php/Horde/Registry.php:2099
  3. call_user_func_array() /usr/local/php/lib/php/Horde/Registry.php:1213
  4. IMP_Application->logout()
  5. Horde_Cache->expire() /www/html/horde/imp/lib/Application.php:173
  6. Horde_Cache_Storage_Hashtable->expire() 
/usr/local/php/lib/php/Horde/Cache.php:162
  7. Horde_Core_HashTable_Wrapper->delete() 
/usr/local/php/lib/php/Horde/Cache/Storage/Hashtable.php:105
  8. Horde_Core_HashTable_Wrapper->__call() 
/usr/local/php/lib/php/Horde/Cache/Storage/Hashtable.php:105
  9. call_user_func_array() 
/usr/local/php/lib/php/Horde/Core/HashTable/Wrapper.php:35
10. Horde_HashTable_Base->delete()
11. Horde_HashTable_Predis->_delete() 
/usr/local/php/lib/php/Horde/HashTable/Base.php:120
12. Predis\Client->del() /usr/local/php/lib/php/Horde/HashTable/Predis.php:87
13. Predis\Client->__call() 
/usr/local/php/lib/php/Horde/HashTable/Predis.php:87
14. Predis\Client->executeCommand() 
/usr/local/php/lib/php/Predis/Client.php:228
15. Predis\Connection\PredisCluster->executeCommand() 
/usr/local/php/lib/php/Predis/Client.php:246
16. Predis\Connection\PredisCluster->getConnection() 
/usr/local/php/lib/php/Predis/Connection/PredisCluster.php:213

Saved Queries