Skip to content
Snippets Groups Projects
Commit c1fec6e7 authored by Alexander Tolstoy's avatar Alexander Tolstoy Committed by Егор Ивков
Browse files

sync pico.cas description with user docs

parent 3f7e60cc
No related branches found
No related tags found
1 merge request!657sync pico.cas description with user docs
Pipeline #22926 passed
......@@ -1031,6 +1031,10 @@ pub(crate) fn setup(args: &args::Run) {
E.g. it checks the `predicate` on leader and, if no conflicting entries
were found, appends the new entry to the raft log and returns its index
(uncommitted yet).
The `predicate` consists of three parts:
- index
- term
- ranges
If `predicate` is not supplied, it will be auto generated with `index`
and `term` taken from the current instance and with empty `ranges`.
......
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