Xiang Li e44e753e66 pkg/idutil: reduce conflict rate from 1% to 0.005%
Perviously, we only use 8bits from member identification
in id generation. The conflict rate is A(256,3)/256^3, which
is around 1%. Now we use 16bites to reduce the rate to 0.005%.

We can attach the full member id into id generation if needed...
2016-02-04 13:25:18 -08:00
..
2015-11-17 20:54:10 -08:00
2015-11-17 20:54:10 -08:00
2016-01-31 21:42:39 -08:00
2015-11-17 20:54:10 -08:00
2016-01-29 16:01:19 +09:00
2016-01-31 21:42:39 -08:00
2016-01-31 21:42:39 -08:00
2016-01-31 21:42:39 -08:00
2016-02-04 09:59:49 -08:00
2014-10-26 16:28:48 -07:00

pkg/ is a collection of utility packages used by etcd without being specific to etcd itself. A package belongs here only if it could possibly be moved out into its own repository in the future.