mirror of
https://github.com/etcd-io/etcd.git
synced 2026-02-05 06:46:49 +01:00
idutil: document event window as 2^48
6 byte suffix means event window is 2^48, not 2^56. Signed-off-by: Upamanyu Sharma <upamanyu@mit.edu>
This commit is contained in:
@@ -43,7 +43,7 @@ const (
|
||||
//
|
||||
// It increases suffix to generate the next id.
|
||||
// The count field may overflow to timestamp field, which is intentional.
|
||||
// It helps to extend the event window to 2^56. This doesn't break that
|
||||
// It helps to extend the event window to 2^48. This doesn't break that
|
||||
// id generated after restart is unique because etcd throughput is <<
|
||||
// 256req/ms(250k reqs/second).
|
||||
type Generator struct {
|
||||
|
||||
Reference in New Issue
Block a user