mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-23 00:43:51 +01:00
2c87b15e83
An instance of Task tracks a single thread of activity that is part of a Job. While the docs already use this terminology of tasks being composed of jobs, the code did not have an object to represent these semantics. Now it does: * A task t is initialized with a root activity, which is its name * t can t.Enter() and t.Finish() an activity, building a stack of activities * t's code can get a logger t.Log() whose logTaskField is set to the concatenated stack of activities * t's code can update IO progress it made since leaving idle state * t's code's log output vie t.Log() is captured since leaving idle state * FIXME: find a way to bound that buffer refs #10 refs #48 |
||
---|---|---|
.. | ||
sampleconf | ||
autosnap.go | ||
bashcomp.go | ||
config_connect.go | ||
config_fsvfilter.go | ||
config_job_control.go | ||
config_job_local.go | ||
config_job_pull.go | ||
config_job_source.go | ||
config_logging.go | ||
config_mapfilter.go | ||
config_parse.go | ||
config_prune_grid.go | ||
config_prune_none.go | ||
config_serve_stdinserver.go | ||
config_test.go | ||
config.go | ||
control.go | ||
daemon.go | ||
handler.go | ||
helpers.go | ||
logging_formatters.go | ||
logging_outlets.go | ||
main.go | ||
prune.go | ||
replication.go | ||
stdinserver.go | ||
test.go | ||
version.go |