zrepl/daemon
Mathias Fredriksson c80e6aa7a4 daemon: avoid math/rand race by using global source
Unless we're using the global source for math/rand, (*rand.Rand).Read
should not be called concurrently. We seed the rng in daemon.Run to
avoid ambiguity or hiding global side effects inside packages.

closes #414
2021-01-30 21:35:29 +01:00
..
filters endpoint: refactor, fix stale holds on initial replication failure, zfs-abstractions subcmd, more efficient ZFS queries 2020-04-18 12:26:03 +02:00
hooks Reformat all files with make format. 2020-08-31 23:57:45 +02:00
job daemon: fix data race in snapjob pruner report 2021-01-30 21:35:29 +01:00
logging daemon: avoid math/rand race by using global source 2021-01-30 21:35:29 +01:00
nethelpers format source tree using goimports 2019-03-22 19:41:12 +01:00
pruner [#307] add package trace, integrate it with logging, and adopt it throughout zrepl 2020-05-19 11:30:02 +02:00
snapper Reformat all files with make format. 2020-08-31 23:57:45 +02:00
control.go envconst: queryable report of resolved variables + integration inot zrepl status --raw 2020-06-14 15:26:05 +02:00
daemon.go daemon: avoid math/rand race by using global source 2021-01-30 21:35:29 +01:00
main.go [#307] add package trace, integrate it with logging, and adopt it throughout zrepl 2020-05-19 11:30:02 +02:00
pprof.go [#307] add package trace, integrate it with logging, and adopt it throughout zrepl 2020-05-19 11:30:02 +02:00
prometheus.go [#307] add package trace, integrate it with logging, and adopt it throughout zrepl 2020-05-19 11:30:02 +02:00