Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Commit

Permalink
Metadata client: increase read consistency to 2 (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiran RG authored Jul 6, 2017
1 parent fc6ee03 commit 51b6724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/metadata/metadata_cassandra.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func NewCassandraMetadataService(cfg configure.CommonMetadataConfig) (*Cassandra
cluster.ProtoVersion = cassandraProtoVersion

cms := new(CassandraMetadataService)
cms.lowConsLevel = gocql.One
cms.lowConsLevel = gocql.Two
cms.midConsLevel = gocql.Two
cms.highConsLevel = gocql.ParseConsistency(cfg.GetConsistency())
cms.clusterName = cfg.GetClusterName()
Expand Down

0 comments on commit 51b6724

Please sign in to comment.