VoltDB/voltdb-client-nodejs — Issue #3: id generation dies > 100,000,000
Author: Eonblast
Created: 2012-02-17 22:03:51+00:00
State: open

I assume the `0xFFFFFFFF` inspired the 8 in `8 - id.length`

con._getUID = function() {
var id = String(this._id < 0xFFFFFFFF ? this._id++ : this._id = 0);
var uid = this._zeros(8 - id.length).join('') + id;
return uid;
}

so it should be 10 for 0xFFFFFFFF = 4,294,967,295.

See pull request 2.

Henning