- Jan 31, 2025
-
-
Denis Smirnov authored
This is required to generate more observable railroad diagrams.
-
Denis Smirnov authored
-
- Jan 30, 2025
-
-
Dmitry Rodionov authored
-
Dmitry Rodionov authored
-
-
-
-
- Jan 29, 2025
-
-
Closes !915
-
-
Denis Smirnov authored
It is the first step before porting Tarantool SQL tests into Picodata. But we can also benefit right now and start writing less verbose SQL feature tests.
-
- Jan 28, 2025
-
-
Dmitry Ivanov authored
Instead of linking against static vendored libcurl unconditionally, use pkg_config/pkgconf to discover system libcurl and its version. At the moment of writing, 8.4.0 is sufficient and thus can be used in dynamic build mode.
-
It is needed because sometimes instance port is 5 symbols long, which makes table wider by one symbol and test fails
-
The problem is that tarantool in 2.11.5 updated to quite recent curl which is not available in repositories for our ci runner distro and quite likely wont be available in distros we certify for. So for now switch to static linking. See https://git.picodata.io/core/picodata/-/issues/1299
-
-
-
Georgy Moshkin authored
The parameter with the old name still works, but the deprecation warning is reported upon use. Will be removed a bit later. Even though we're technically allowed to break backwards compatibility I've done it this way, so that we have some examples of how to do such a thing for future reference.
-
Georgy Moshkin authored
-
Erik Khamitov authored
-
- Jan 27, 2025
-
-
Georgy Moshkin authored
Simple subtraction overflow Closes #1296
-
Georgy Moshkin authored
This is helpful when investigating incidents in case an instance of picodata cannot start. Run `picodata tarantool -- -i` in the failing instance's data directory, do `box.cfg { listen = 3301 }` in the console. And then in another cluster's picodata instance you can do `pico.raft_log({ remote = 'address:3301' })` to inspect raft log of that failed cluster.
-
Georgy Moshkin authored
Remove the corresponding calls, add module-level doc-comments with explanations on what the hell is going on. This also fixes some flaky tests including #1294
-
Georgy Moshkin authored
Turns out blocking inside proc_replication_demote is not safe, as it may lead to deadlocking if a replicaset master switchover happens during a replicaset catch-up via raft snapshot. The symptom of the problem was the flakiness of the tests (for example issue #1294). Closes #1294 This reverts commit ec2b760a.
-
Вартан Бабаян authored
-
Use benchmark groups, calculate throughput for SQL operations, fix usage of `black_box` (outputs of bencher function don't need to be black-boxed, since the framework already does it, but all inputs must be properly black-boxed to avoid compiler optimizations).
-
-
- Jan 24, 2025
-
-
Dmitry Rodionov authored
Ideally we should add ability to configure the value, becase for tests this timeout is unreasonably high.
-
Andrey Strochuk authored
-
- Jan 23, 2025
-
-
Erik Khamitov authored
-
- Jan 22, 2025
-
-
Georgy Moshkin authored
Previously in our integration tests we would explicitly provide instance names on startup. One of the reasons for that was, that we process all the logging output from the instances by adding the prefix with the instance name to them. After we stopped generating names explicitly this feature broke, and the logs started being prepended with just the listen port, which is not as useful. This commit partially resolves this issue by making it so that logging prefix is automatically updated after the instance is bootstrapped and we find out it's name. This is implemented just by checking the Instance.name member variable, which is updated when Instance.instance_info() method is called. It is implicitly called in Instance.wait_online() which happens in almost every test (often implicitly as well). But if you notice that your test output doesn't contain instance names at the start of the lines, you may want to call Instance.instance_info() explicitly at some point. Also note that there's an inherent problem with that approach -- any log output which is handled before the instance name is known will be prefixed with just the port number. Hopefully this is not a very big problem in most cases... A better solution would be to add the instance_name to all the logger output automatically from picodata. See #1303
-
Вартан Бабаян authored
-
- Jan 21, 2025
-
-
Alexander Tolstoy authored
-
EmirVildanov authored
Inside of string literals two subsequent single quotes are parsed as a single one. The only exception is plugin values which are considered to be json string and where single quotes are not escaped.
-
Denis Smirnov authored
-
- Jan 20, 2025
-
-
Georgy Moshkin authored
This reverts commit 6e91279f
-
Denis Smirnov authored
Cartridge CI often fails with timeout errors on the vshard bootstrap step. The reason is that cartridge uses default CALL_TIMEOUT_MIN in vshard, that is 0.5 sec by default. As our CI is often busy with concurrent jobs, current commit enlarges timeout 10 times up to 5 sec.
-
- Jan 17, 2025
-
-
Denis Smirnov authored
-
-
-
Denis Smirnov authored
The main problem is that this test didn't wait properly until the target instance is expelled. The correct logic could be found in the test_join_expel_instance for audit. So, current commit unifies the logic in both tests and adds some new methods to the Cluster class.
-
- Jan 16, 2025
-
-
Georgy Moshkin authored
-