Christian Schwarz
c87759affe
replication/driver: automatic retries on connectivity-related errors
2019-03-13 15:00:40 +01:00
Christian Schwarz
07b43bffa4
replication: refactor driving logic (no more explicit state machine)
2019-03-13 15:00:40 +01:00
Christian Schwarz
0230c6321f
rpc/dataconn: microbenchmark
2019-03-13 13:57:21 +01:00
Christian Schwarz
796c5ad42d
rpc rewrite: control RPCs using gRPC + separate RPC for data transfer
...
transport/ssh: update go-netssh to new version
=> supports CloseWrite and Deadlines
=> build: require Go 1.11 (netssh requires it)
2019-03-13 13:53:48 +01:00
Christian Schwarz
c1aab0bee9
config: update yaml-config and use zeropositive constraint for timeouts
2018-12-11 21:54:36 +01:00
Christian Schwarz
3535b251ab
freeze Go build dependencies in Gopkg.lock
...
* use pseudo-depdencies in build/build.go to convince dep
* update Travis, Dockerfile and Docs
* build.Dockerfile image now contains the Go build dependencies
* => faster builds
* bump pdu file after protoc update
fixes #106
2018-12-01 14:36:40 +01:00
Christian Schwarz
b2844569c8
replication: rewrite error handling + simplify state machines
...
* Remove explicity state machine code for all but replication.Replication
* Introduce explicit error types that satisfy interfaces which provide
sufficient information for replication.Replication to make intelligent
retry + queuing decisions
* Temporary()
* LocalToFS()
* Remove the queue and replace it with a simple array that we sort each
time (yay no generics :( )
2018-10-21 18:37:57 +02:00
Christian Schwarz
fb6f58b735
client/status: switch to package tcell which works with solaris
...
Can't cross compile Solaris binaries though:
tcell for Solaris needs cgo.
2018-10-13 16:57:05 +02:00
Christian Schwarz
074f989547
Merge branch 'replication_rewrite' (in fact it's a 90% rewrite)
2018-10-13 16:26:23 +02:00
Christian Schwarz
4a6160baf3
update to streamrpc 0.4 & adjust config (not breaking)
2018-09-23 20:28:30 +02:00
Christian Schwarz
2da0e51fda
Update Gopkg.lock to latest versions of streamrpc and yaml-config
2018-09-02 15:49:17 -07:00
Christian Schwarz
b95e983d0d
bump go-streamrpc to 0.2, cleanup logging
...
logging should be user-friendly in INFO mode
2018-09-02 15:45:18 -07:00
Christian Schwarz
acd2a68cfb
fix build: bump yaml-config
2018-08-30 13:40:28 +02:00
Christian Schwarz
1690339440
colorized stdout logger if stdout is tty
2018-08-30 13:33:28 +02:00
Anton Schirg
6cedd0a2e8
add status command
2018-08-30 12:54:30 +02:00
Anton Schirg
c2b04d10c5
wip floocode backup
2018-08-27 15:22:32 +02:00
Anton Schirg
38bb78b642
WIP new config format
2018-08-26 22:03:57 +02:00
Christian Schwarz
cf01086df5
build: pin protoc version and update protobuf + regenerate
2018-08-26 14:35:18 +02:00
Christian Schwarz
b56e236874
add go-streamrpc to Gopkg.toml
2018-08-25 15:14:27 +02:00
Christian Schwarz
e6426db8da
rpc: bump go-netssh package to address goroutine leak on timeouts
2018-05-22 17:30:29 +02:00
Christian Schwarz
181875a89b
build: add dependency on prometheus client_golang to Gopkg.toml
2018-04-14 11:41:43 +02:00
Christian Schwarz
fb74addc1e
bump go-rwccmd to support ssh error messages
...
this is a follow-up to ccd062e
fixes #65
2018-04-01 14:34:05 +02:00
Christian Schwarz
26b436463d
ssh+stdinserver: connect: dial_timeout
...
This is a follow-up to ccd062e
2018-03-04 17:19:41 +01:00
Christian Schwarz
792c1a23b2
build: track dependency on go-netssh explicitly in Gopkg.toml
2018-02-18 15:26:48 +01:00
Christian Schwarz
ccd062e238
ssh+stdinserver: dump sshbytestream for github.com/problame/go-netssh
...
Cleaner abstractions + underlying go-rwccmd package does proper handling
of asynchronous exits, etc.
2018-02-17 01:08:15 +01:00
Christian Schwarz
24b29a0865
Gopkg: remove unused dependencies + cleanup Gopkg.toml
2018-02-15 22:18:32 +01:00
Christian Schwarz
14b8d69a63
cmd control status + expose DaemonStatus via control API
...
refs #10
2017-12-27 14:39:46 +01:00
Christian Schwarz
476348689a
logging: stdout outlet: include time in output if tty or forced through config
2017-11-15 11:04:34 +01:00
Christian Schwarz
3b6cede108
go dep: run dep ensure, apparently cut off all unused transitive dependencies
2017-11-12 14:19:53 +01:00
Christian Schwarz
fae34f5927
implement logfmt formatter
2017-09-24 02:09:50 +02:00
Christian Schwarz
a459f0a0f6
go-yaml: direct dependency on github repo
2017-09-22 15:29:54 +02:00
Christian Schwarz
eaff4fb963
use the go dep tool to pin dependencies
2017-09-22 14:42:17 +02:00