Please sign in to comment.
Reduce granularity of failure detector locking and do not destroy all…
… enqueued requests upon setUnavailable. src/java/voldemort/cluster/failuredetector/ThresholdFailureDetector.java - Reduce amount of work done within synchronized section to reduce lock granularity and so ensure "side effects" of node being marked (un)available are not w/in sync section. src/java/voldemort/store/socket/clientrequest/ClientRequestExecutorPool.java - Added TODO/comment to decide whether we want to actively destroy all connections upon node being marked unavailable - Switched behavior to lazily destroying connections.
- Loading branch information...
Showing with 21 additions and 5 deletions.