Skip to content

Commit

Permalink
Update to Raft 1.3.0
Browse files Browse the repository at this point in the history
This adds the appended_at field
  • Loading branch information
Jille committed Sep 8, 2021
1 parent f66f20d commit 92f42d1
Show file tree
Hide file tree
Showing 6 changed files with 285 additions and 178 deletions.
1 change: 1 addition & 0 deletions fromproto.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func decodeLog(m *pb.Log) *raft.Log {
Type: decodeLogType(m.Type),
Data: m.Data,
Extensions: m.Extensions,
AppendedAt: m.AppendedAt.AsTime(),
}
}

Expand Down
10 changes: 9 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,17 @@ module github.com/Jille/raft-grpc-transport
go 1.13

require (
github.com/armon/go-metrics v0.3.9 // indirect
github.com/fatih/color v1.12.0 // indirect
github.com/golang/protobuf v1.5.2
github.com/google/go-cmp v0.5.5
github.com/google/gofuzz v1.2.0
github.com/hashicorp/raft v1.1.2
github.com/hashicorp/go-hclog v0.16.2 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-msgpack v1.1.5 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/raft v1.3.1
github.com/mattn/go-isatty v0.0.14 // indirect
golang.org/x/net v0.0.0-20210907225631-ff17edfbf26d // indirect
golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34 // indirect
golang.org/x/text v0.3.7 // indirect
Expand Down
Loading

0 comments on commit 92f42d1

Please sign in to comment.