Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Non-random random number in rabbit_nodes.erl #3

Closed
binarin opened this issue Nov 6, 2015 · 0 comments
Closed

Non-random random number in rabbit_nodes.erl #3

binarin opened this issue Nov 6, 2015 · 0 comments
Assignees
Milestone

Comments

@binarin
Copy link
Contributor

binarin commented Nov 6, 2015

There was a lot of log records like epmd: node name already occupied epmd-starter-443584618, and the number was always the 443584618. Like in https://xkcd.com/221/ )

random:uniform/1 stores PRNG state in process dictionary, and if random:seed/3 wasn't called, it initializes from the same constant seed.

binarin pushed a commit to binarin/rabbitmq-common that referenced this issue Nov 6, 2015
@michaelklishin michaelklishin added this to the 3.6.0 milestone Nov 9, 2015
@michaelklishin michaelklishin self-assigned this Nov 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants