Add per-partition processing, clean up, fix consistency bug
Add per-partition processing, clean up, fix consistency bug

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