zrepl/daemon/job
Christian Schwarz d584e1ac54 daemon/job/active: fix race in updateTasks
If concurrent updates strictly modify *different* members of the tasks
struct, the copying + lock-drop still constitutes a race condition:
The last updater always wins and sets tasks to its copy + changes.
This eliminates the other updater's changes.
2018-10-12 22:15:07 +02:00
..
reset move wakeup subcommand into signal subcommand and add reset subcommand 2018-10-12 20:50:56 +02:00
wakeup move wakup mechanism into separate package 2018-10-12 12:44:40 +02:00
active.go daemon/job/active: fix race in updateTasks 2018-10-12 22:15:07 +02:00
build_jobs.go implement pull + sink modes for active and passive side 2018-09-24 12:36:10 +02:00
job.go move wakup mechanism into separate package 2018-10-12 12:44:40 +02:00
passive.go move serve and connecter into transports package 2018-10-11 21:21:46 +02:00