fixed gap detection
Merge branch 'master' of https://github.com/shengd/paxos