diff --git a/README.md b/README.md index 3321b3ef..3f0fb0f9 100644 --- a/README.md +++ b/README.md @@ -190,6 +190,8 @@ This is why, even though queries do not involve consensus, they must be processe Due to the nature of Raft, there is a very small window (milliseconds) where a node has been disposed as leader, but has not yet changed its internal state. Therefore, even with the leader check in place, there is a very small window of time where out-of-date results could be returned. If you want to avoid even this possibility, add `verify` to the URL. This will force the node to perform an actual leadership check across the cluster, but will impact query performance. An example query follows. curl -G 'localhost:4001/db/query?pretty&verify' --data-urlencode 'q=SELECT * FROM foo' + +*See [issue 5](https://github.com/otoolep/rqlite/issues/5) for more discussion of this.* ### Transactions Transactions are supported. To execute statements within a transaction, add `transaction` to the URL. An example of the above operation executed within a transaction is shown below.