mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
*: rename Snapshot STM isolation to SerializableSnapshot
Pure Snapshot isolation would permit read conflicts. Change the name from Snapshot to SerializableSnapshot to reflect that it will also reject read conflicts.
This commit is contained in:
@@ -88,7 +88,7 @@ func stmFunc(cmd *cobra.Command, args []string) {
|
||||
case "s":
|
||||
stmIso = v3sync.Serializable
|
||||
case "ss":
|
||||
stmIso = v3sync.Snapshot
|
||||
stmIso = v3sync.SerializableSnapshot
|
||||
default:
|
||||
fmt.Fprintln(os.Stderr, cmd.Usage())
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user