- Apr 21, 2022
-
-
Denis Smirnov authored
-
Denis Smirnov authored
-
Denis Smirnov authored
Also added missed pretty_assertions to some of the tests in the cartridge module.
-
Denis Smirnov authored
At the moment all the query ASTs are cached in the engine LRU cache. There is not much sense in it since we don't support parameters at the moment, but it would be done later. To get ready for parameters we have also added parameters support in the grammar, but didn't implement it in the AST code.
-
Denis Smirnov authored
-
Denis Smirnov authored
-
Denis Smirnov authored
At the moment our grammar doesn't support any sub-queries in the projection list. So it is a waste of CPU resourcies to transform projection lists (a big performance penalty for projections with a huge amount of columns).
-
- Apr 20, 2022
-
-
Дмитрий Кольцов authored
-
Denis Smirnov authored
-
Denis Smirnov authored
-
Denis Smirnov authored
Previously for every query we hold a mutable reference on an engine and tried to load a cluster metadata if the cache was empty. The problem was that tarantool yields on a first query uploading the cache to a new one, that also tries to get a mutable reference to the engine. The main problem was that we should never hold a mutable reference to an object with a Lua code, that can be yielded by tarantool (such behavior is opaque to the Rust compiler). To deal with it we shrink a metadata upload to a list of separate methods. For the ones that can yield we always hold an immutable reference. Those methods that need a mutable reference to the engine never yield.
-
Дмитрий Кольцов authored
-
Denis Smirnov authored
-
- Apr 18, 2022
-
-
Igor Kuznetsov authored
-
- Apr 15, 2022
-
-
Denis Smirnov authored
-
Denis Smirnov authored
-
Denis Smirnov authored
-
Denis Smirnov authored
-
Igor Kuznetsov authored
-
- Apr 14, 2022
-
-
Dmitry Travyan authored
-
Igor Kuznetsov authored
-
- Apr 13, 2022
-
-
Igor Kuznetsov authored
-
Dmitry Travyan authored
-
- Apr 12, 2022
-
-
Dmitry Travyan authored
-
Дмитрий Кольцов authored
Basically callbre means that we call replicaset with two additional parameters: 1) prefer_replica = true. We can use read from replicas because transactional consistency is out of Sbroad scope. Basically we do not care about data consistency at all. 2) balance = true. This parameters enables internal vshard load balancing between replicaset nodes in round-robin fashion, with a preference for replicas if prefer_replica=true is also set
-
- Apr 11, 2022
-
-
Igor Kuznetsov authored
-
- Apr 10, 2022
-
-
Denis Smirnov authored
-
- Apr 08, 2022
-
-
Denis Smirnov authored
-
-
Denis Smirnov authored
-
Denis Smirnov authored
-
- Apr 07, 2022
-
-
Alexander Tolstoy authored
-
Denis Smirnov authored
-
Denis Smirnov authored
-
Denis Smirnov authored
We have fixed some bugs about NULL and made equality propagation use the infrastructure common with the other transformations. Also, extended and refactored the tests.
-
- Apr 06, 2022
-
-
Igor Kuznetsov authored
Merge 2 execute query functions in one. Response waiting timeout was extracted to cluster config.
-
- Apr 05, 2022
-
-
Igor Kuznetsov authored
Was made determining uniq set of replicaset by set of buckets that avoid send the same queries to the same replicas. Bucket exec query function was fixed to async mode.
-
- Apr 04, 2022
-
-
Denis Smirnov authored
-
Denis Smirnov authored
-
- Apr 01, 2022
-
-
Denis Smirnov authored
-