Skip to content

Commit

Permalink
Add LocalOne consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Zariel committed Aug 3, 2014
1 parent 6f558cc commit c78c7ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ var consistencyCodes = []uint16{
EachQuorum: 0x0007,
Serial: 0x0008,
LocalSerial: 0x0009,
LocalOne: 0x000A,
}

type readyFrame struct{}
Expand Down
2 changes: 2 additions & 0 deletions session.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ const (
EachQuorum
Serial
LocalSerial
LocalOne
)

var ConsistencyNames = []string{
Expand All @@ -470,6 +471,7 @@ var ConsistencyNames = []string{
EachQuorum: "eachquorum",
Serial: "serial",
LocalSerial: "localserial",
LocalOne: "localone",
}

func (c Consistency) String() string {
Expand Down

0 comments on commit c78c7ab

Please sign in to comment.