Skip to content
Snippets Groups Projects
Commit f707a252 authored by keleher's avatar keleher
Browse files

auto

parent 39207f9d
No related branches found
No related tags found
No related merge requests found
...@@ -112,12 +112,12 @@ log abstraction in `replica.go` ...@@ -112,12 +112,12 @@ log abstraction in `replica.go`
## Use of the `transactionalClient` ## Use of the `transactionalClient`
Your `transactionalClient.go` takes several arguments (see code), but the two important ones Your `transactionalClient.go` takes several arguments (see code), but the two important ones
are: are:
- `-p` - tells your code to do two things: - `-p`: tells your code to do two things:
- at end-of-text write out commit/abort notifications for each transaction - at end-of-text write out commit/abort notifications for each transaction
whose fate has been decided, in the order that they were decided. whose fate has been decided, in the order that they were decided.
- write out the contents of your KV store, ordered lexicographically by key value. Only - write out the contents of your KV store, ordered lexicographically by key value. Only
written values need be printed. written values need be printed.
- `-s` use snapshot isolation instead serializable isolation - `-s`: use snapshot isolation instead serializable isolation
`transactionalClient.go` differs from `client.go` in that it reads commands `transactionalClient.go` differs from `client.go` in that it reads commands
interactively. Once started, it reads commands (arbitrary strings) from STDIN interactively. Once started, it reads commands (arbitrary strings) from STDIN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment