You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
fsstorage | 2 years ago | |
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
interfaces.go | 2 years ago | |
manager.go | 2 years ago |
README.md
replication
Streaming replication framework for golang.
Replication
Each node has one role: leader
or follower
.
A follower exposes methods:
- GetMaxAppliedLogID
- Reset
- ApplyState - not synced
- ApplyLog - not synced
- ApplyMod - synchronous replication
If a node has a follower, it runs in one state:
SyncingState
SyncingLog
SyncingSync