- May 03, 2023
-
-
Егор Ивков authored
-
- Apr 28, 2023
-
-
Егор Ивков authored
Related issues: - #237 Restrict cas predicate over primary index only. Having secondary index in the cas predicate is problematic. At the moment we don't store enough information to check the predicate and storing this information would make the logic much complex and was deemed not important enough for the user. - #258 Dml semantics Even though tarantool supports delete/update by secondary key, in the write-ahead log the operations are stored by primary key only. It was decided to also proceed in this direction. The operations will be represented as by primary key only and any secondary key update logic will probably be offloaded to clients/interfaces.
-
Егор Ивков authored
-
- Apr 24, 2023
-
-
-
Егор Ивков authored
-
- Apr 21, 2023
-
-
This patch introduces `picodata connect` CLI command. It allows connecting to interactive lua console of a picodata instance via iproto The whole implementation comes down to invoking a lua script with `require("console").start()`.
-
Georgy Moshkin authored
* _picodata_index keys now include space_id * _picodata_space distribution type changed to "array" * _picodata_space format type changed to "array" * add Spaces::insert and Indexes::insert methods * Ddl now has #[serde(tag = "kind", rename_all = "snake_case")] * Dml now has #[serde(tag = "op_kind", rename_all = "snake_case")] * Distribution now has #[serde(tag = "kind", rename_all = "snake_case")]
-
- Apr 20, 2023
-
-
Yaroslav Dynnikov authored
The main focus is on the snapshot recovery scenarios (bootstrap / cathcup) interleaving with explicit CaS operations, rather than on leadership changes and joins.
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Yaroslav Dynnikov authored
Consider the case when a client requests `index: X, term: T`, but `term(X) != T`. Picodata used to check all entries in the range `[X+1, last]`, but it didn't check the index `X` itself. This patch provides this one extra check. Thereby it makes sure that all entries in the range `[X, last]` belong to the same term `T == current_term`.
-
Yaroslav Dynnikov authored
Refactor corresponding tests accordingly
-
- Apr 19, 2023
-
-
Georgy Moshkin authored
-
-
-
- Apr 18, 2023
-
-
Egor Ivkov authored
-
Georgy Moshkin authored
-
Егор Ивков authored
-
- Apr 14, 2023
-
-
- Add new variants to `traft::op::Op` for Ddl handling - Provide corresponding Ddl operation structs - Provide a builder for `DdlPrepare`
-
-
Georgy Moshkin authored
-
- Apr 13, 2023
-
-
This patch includes: - Tarantool stored procedure `proc_cas`. - Lua API `pico.cas`. - Integration tests.
-
- Apr 12, 2023
-
-
Yaroslav Dynnikov authored
Now the function returns `first_index` instead of the number of entries deleted - it has no practical purpose.
-
Yaroslav Dynnikov authored
This patch adds a missing test for `pico.raft_compact_log` Lua API. Also, it changes the API to be more alike other relevant Lua functions: `raft_propose_*`, `raft_read_index`, `raft_timeout_now`.
-
- Apr 11, 2023
-
-
Adopted styleguide is "actual == expected", not vice versa.
-
Yaroslav Dynnikov authored
Bumping `tarantool-module` fixes the `fiber::csw()` performance issue that caused flaky tests in CI. Also this patch increases the `test_sigsegv_child` timeout. The test is flaky too, let's see if it helps.
-
- Apr 07, 2023
-
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
-
Yaroslav Dynnikov authored
1. Refine and document the behavior of - `RaftSpaceAccess::entries()` - `raft::Storage::entries()` - `raft::Storage::term()` - `raft::Storage::first_index()` - `raft::Storage::last_index()` 2. Test it intensively.
-
-
Yaroslav Dynnikov authored
1. Change `.map_err(box_err)` into `cvt_err()`. It makes lines shorter. 2. Change few unwraps into `.expect()`. 3. Change `.unwrap_or_default()` into `.unwrap_or(v)`. It's shorter and saves some cognitive resources.
-
- Apr 06, 2023
-
-
-
-
Егор Ивков authored
-
- Apr 05, 2023
-
-
- Apr 04, 2023
-
-
Georgy Moshkin authored
-
- Mar 31, 2023
-
-