This project is archived and is in readonly mode.
Memcached initialization errors on JRuby
Reported by calavera | June 21st, 2010 @ 05:36 PM
Actually this is not a bug in rails but a memcached java client, anyway I think it's worth preventing it.
The memcache-client for jruby assumes that the server addresses include the port but the default servers list that rails uses doesn't do it and the client raises an initialization error.
Changing just two lines of code this error can be avoided. I include the patch for doing it.
Comments and changes to this ticket
-
Repository June 22nd, 2010 @ 03:32 PM
- State changed from new to resolved
(from [b8330a22619f647f16a671c1ad58730d8896f806]) preventing memcached initialization errors with default servers list [#4921 state:resolved]
As of this writing the JRuby client does not support a default port.
Signed-off-by: Xavier Noria fxn@hashref.com
http://github.com/rails/rails/commit/b8330a22619f647f16a671c1ad5873...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 4921 Memcached initialization errors on JRuby (from [b8330a22619f647f16a671c1ad58730d8896f806]) prevent...