Proxy ID uniqueness

it seems that fdb is using commit stream’s endpoint token as the UID of proxy link, but as it is generated by a deterministic-random generator, is there a possibility that different proxies from different servers may have the same UID? thus leading to some problems in
this map ?

The random number generators are initialized with a truly random seed. So getting the same numbers on two machines should be equally unlikely as if you would use non-pseudo random numbers.

The token in the above code is a 128bit number. The probability of generating the same random number twice there is very vey close to 0

1 Like