We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0979add commit 03ee796Copy full SHA for 03ee796
src/com/danga/MemCached/SockIOPool.java
@@ -542,6 +542,7 @@ protected SockIO createSocket( String host ) {
542
catch ( Exception ex ) {
543
log.error( "++++ failed to get SockIO obj for: " + host );
544
log.error( ex.getMessage(), ex );
545
+ socket = null;
546
}
547
548
// if we failed to get socket, then mark
@@ -660,7 +661,7 @@ public SockIO getSock( String key, Integer hashCode ) {
660
661
662
// if we failed to get a socket from this server
663
// then we try again by adding an incrementer to the
- // current hash and then rehashing
664
+ // current key and then rehashing
665
switch ( hashingAlg ) {
666
case NATIVE_HASH:
667
hv += ("" + tries + key).hashCode();
0 commit comments