Skip to content

Commit

Permalink
Update consistency level for cassandra visibility (uber#5330)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaddoll authored Jun 21, 2023
1 parent 0bbc5de commit 41c8369
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const (
// eventual consistency is sufficient.
// That's because the engine layer writes into visibility with eventual consistency anyway(using transfer tasks)
// Do NOT use it in other places, unless you are sure it's the same special cases like reading visibility
cassandraLowConslevel = gocql.One
cassandraLowConslevel = gocql.LocalOne

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

0 comments on commit 41c8369

Please sign in to comment.