commit consistent-hash code