-
- Downloads
Backup: Simplify backup logic and make it robust.
- Simplify backup code. - Just use a single RPC call to handle backup, where each server, if unable to run the backup itself, would transmit the backup RPC to some other server in the cluster. This happens recursively until we find the right server to run the backup. - Add error handling so we can try to find the right node to run the backup. - Reuse buffer, instead of creating a new one. - Various bug fixes from previous backup code, and edge cases from membership logic.
Showing
- cmd/dgraph/.gitignore 1 addition, 0 deletionscmd/dgraph/.gitignore
- cmd/dgraph/main.go 2 additions, 2 deletionscmd/dgraph/main.go
- worker/backup.go 220 additions, 74 deletionsworker/backup.go
- worker/backup_test.go 3 additions, 3 deletionsworker/backup_test.go
- worker/conn.go 21 additions, 9 deletionsworker/conn.go
- worker/draft.go 7 additions, 2 deletionsworker/draft.go
- worker/groups.go 40 additions, 13 deletionsworker/groups.go
- worker/payload.pb.go 291 additions, 116 deletionsworker/payload.pb.go
- worker/payload.proto 16 additions, 2 deletionsworker/payload.proto
- worker/worker.go 19 additions, 111 deletionsworker/worker.go
Loading
Please register or sign in to comment