Commit 8dc5746
committed
DAOS-15084 engine: seed for rand when engine start
Otherwise, different engines may generate the same pseudo random
sequence for rand() callers, that may cause trouble, for example
when raft vote for pool service leader election.
Signed-off-by: Fan Yong <fan.yong@intel.com>1 parent fcd077f commit 8dc5746
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
| 301 | + | |
300 | 302 | | |
301 | 303 | | |
302 | 304 | | |
| |||
0 commit comments