From c1fec6e79a8d70c1302f64c2c20f9551abd261d2 Mon Sep 17 00:00:00 2001
From: "a.tolstoy" <a.tolstoy@picodata.io>
Date: Mon, 28 Aug 2023 17:05:26 +0300
Subject: [PATCH] sync pico.cas description with user docs

---
 src/luamod.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/luamod.rs b/src/luamod.rs
index 1831ad9c5f..d59eaeeeeb 100644
--- a/src/luamod.rs
+++ b/src/luamod.rs
@@ -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`.
-- 
GitLab