check if context is canceled before searching idx
check if context is canceled before searching idx

raintank/metrictank,raintank/raintank-metric,raintank/raintank-metric,raintank/metrictank,raintank/raintank-metric,raintank/metrictank,replay/metrictank,replay/metrictank,replay/metrictank,replay/metrictank,raintank/metrictank