Streaming replication framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
jdl d1f4ca7b81 Cleanup 1 year ago
fsstorage Cleanup 1 year ago
.gitignore WIP 1 year ago
LICENSE Initial commit 1 year ago
README.md WIP 1 year ago
go.mod WIP 1 year ago
go.sum WIP 1 year ago
interfaces.go WIP 1 year ago
manager.go WIP 1 year 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