Commit Graph

29 Commits

Author SHA1 Message Date
d684302864 pruning: fix tests + implement 'not_replicated' and 'keep_regex' keep rule
tests expected that a KeepRule returns a *keep* list whereas it
actually returns a *destroy* list.
2018-08-30 11:46:47 +02:00
fb0a8d8b40 gofmt cmd/ 2018-08-29 14:54:29 +02:00
c69ebd3806 WIP rewrite the daemon
cmd subdir does not build on purpose, it's only left in tree to grab old
code and move it to github.com/zrepl/zrepl/daemon
2018-08-27 22:22:44 +02:00
c2b04d10c5 wip floocode backup 2018-08-27 15:22:32 +02:00
add1b69809 move retentiongrid to own package 2018-08-26 22:06:47 +02:00
6425c26b1b start refactoring: move daemon into subpackage 2018-08-26 21:58:58 +02:00
88de8ba8bb initial repl policy: get rid of unimplemented options 2018-08-25 22:23:47 +02:00
e30ae972f4 gofmt 2018-08-25 21:30:25 +02:00
d677cde6d0 implement tcp and tcp+tls transports 2018-08-25 12:58:17 +02:00
54c9dcb7c1 move replication policy constants to package replication 2018-08-22 10:11:14 +02:00
70aad0940f cmd: move replication endpoints into subpackage 2018-08-22 00:43:58 +02:00
a0b320bfeb streamrpc now requires net.Conn => use it instead of rwc everywhere 2018-08-08 13:09:51 +02:00
9d7110eaad config: fix shadowed error return values 2018-04-14 11:25:12 +02:00
82ea535692 daemon: expose prometheus in new global.monitoring config section + document it
refs #67
2018-04-14 11:24:47 +02:00
a4da029105 cmd: prometheus job type and Task instrumentation
refs #67
2018-04-13 23:37:53 +02:00
aa3865d0a3 daemon: Job types as dedicated type
refs #67
2018-04-05 22:22:55 +02:00
aa92261ea7 bookmarking: prune policy for bookmarks
refs #34
2018-02-17 20:48:31 +01:00
83d450b1f2 config: support days (d) and weeks (w) in durations
fixes #18
2017-10-05 15:17:37 +02:00
0cbee78b40 fix unreachable code & missing stringer-generated code 2017-09-30 16:31:55 +02:00
bfcba7b281 cmd: logging using logrus 2017-09-22 17:01:54 +02:00
a459f0a0f6 go-yaml: direct dependency on github repo 2017-09-22 15:29:54 +02:00
e87ce3f7cf cmd: no context + logging for config parsing 2017-09-22 14:13:30 +02:00
eaed271a00 cmd: config: remove annoying parser logs 2017-09-18 00:16:28 +02:00
3eaba92025 cmd: introduce control socket & subcommand
Move pprof debugging there.
2017-09-18 00:16:28 +02:00
9cd83399d3 cmd: remove global state in main.go
* refactoring
* Now supporting default config locations
2017-09-17 18:32:00 +02:00
5faafbb1b4 cmd: noprune prune policy 2017-09-15 19:32:09 +02:00
1deaa459c8 config: unify job debugging options 2017-09-11 15:45:10 +02:00
f3689563b5 config: restructure in 'jobs' and 'global' section 2017-09-11 13:43:18 +02:00
73c9033583 WIP: Switch to new config format.
Don't use jobrun for daemon, just call JobDo() once, the job must
organize stuff itself.

Sacrifice all the oneshot commands, they will be reintroduced as
client-calls to the daemon.
2017-09-10 17:53:54 +02:00