normalocity/keyspace — Issue #65: Going to the next generatorID needs to be a peer-based decision
Author: normalocity
Created: 2011-10-08 22:31:42+00:00
State: open

Right now, if a KeyGenerator runs out of IDs, it will increment its KeyGenerator id, which is a problem because that could cause overlaps. What it should do is ask its peers which generator ID it should take next.

Somehow, the peers need to hold an election to figure out which generator ID to assign to the new generator.