Skip to content

Commit 41c8369

Browse files
authored
Update consistency level for cassandra visibility (cadence-workflow#5330)
1 parent 0bbc5de commit 41c8369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/persistence/nosql/nosqlplugin/cassandra/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const (
4848
// eventual consistency is sufficient.
4949
// That's because the engine layer writes into visibility with eventual consistency anyway(using transfer tasks)
5050
// Do NOT use it in other places, unless you are sure it's the same special cases like reading visibility
51-
cassandraLowConslevel = gocql.One
51+
cassandraLowConslevel = gocql.LocalOne
5252

5353
// We use all consistency level for delete operations to prevent the data resurrection issue
5454
cassandraAllConslevel = gocql.All

0 commit comments

Comments
 (0)