Skip to content

Commit

Permalink
feature: follower writes - register KV server on repl port
Browse files Browse the repository at this point in the history
  • Loading branch information
coufalja committed Jan 22, 2024
1 parent 59e686a commit 446664f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/leader.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ func leader(_ *cobra.Command, _ []string) error {
)
regattapb.RegisterMetadataServer(replication, &regattaserver.MetadataServer{Tables: engine})
regattapb.RegisterSnapshotServer(replication, &regattaserver.SnapshotServer{Tables: engine})
regattapb.RegisterKVServer(replication, &regattaserver.KVServer{Storage: engine})
regattapb.RegisterLogServer(replication, ls)
// Start server
go func() {
Expand Down

0 comments on commit 446664f

Please sign in to comment.