dkong/twemproxy — pull request #1 by mshunmugam (2014-04-07 18:12:46+00:00)
Title: fix the crash seen on get request with distribution:random

indexes is applicable only with DIST_KETAMA (gets initialized in DIST_KETAMA switch case) and the logic to choose the server from the cluster indexes should be performed only when the pool->dist_type is set to DIST_KETAMA.