- Nov 16, 2023
-
-
Kurdakov Alexander authored
New property in configuration of tier - can_vote. Indicates whether instances from tier could be considered as voter in raft leader election.
-
- Nov 14, 2023
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
-
- Nov 13, 2023
-
-
- Nov 10, 2023
-
-
Implemented: - features: * FFI wrappers for `say.{h,c}` * safe logger object on top of FFI definitions * unified tlog/audit definitions for formatting * fixed a needless allocation in tlog (new root per each line) - events: * create_user * drop_user * create_role * drop_role * change_password * grant_privilege * revoke_privilege * create_table * drop_table * grant_role * revoke_role Todo: - features: * unique id generation * security subject (who executed the action) * audit configuration (via `pico.audit` function) - well-defined events: * create_database (universe) * change_config * change_current_grade - special events (local to each node): * auth_ok / auth_fail * access_denied (still not sure if we absolutely need that) * audit_rotate - Unavailable (haven't been defined yet): * rename_user * create_procedure * drop_procedure Example: ``` $ cat /tmp/audit.log 2023-11-10 12:07:19.457 [15735] main/103/interactive I> audit log is ready, title: initialize_audit 2023-11-10 12:07:19.457 [15735] main/103/interactive I> database is starting, title: startup 2023-11-10 12:07:19.818 [15741] main/103/interactive I> audit log is ready, title: initialize_audit 2023-11-10 12:07:19.818 [15741] main/103/interactive I> database is starting, title: startup 2023-11-10 12:07:34.910 [15741] main/111/raft_main_loop storage.rs:2809 W> created user `KEK`, auth_type: chap-sha1, title: create_user 2023-11-10 12:07:52.869 [15741] main/111/raft_main_loop storage.rs:2861 W> created role `mgr`, title: create_role 2023-11-10 12:07:55.602 [15741] main/111/raft_main_loop storage.rs:2861 W> created role `kek`, title: create_role 2023-11-10 12:07:57.594 [15741] main/111/raft_main_loop storage.rs:2906 W> granted role `mgr` to role `kek`, title: grant_role 2023-11-10 12:08:08.482 [15741] main/111/raft_main_loop storage.rs:2913 W> granted privilege execute on universe `` to role `kek`, title: grant_privilege ```
-
-
- Nov 09, 2023
-
-
Georgy Moshkin authored
-
- Nov 08, 2023
-
-
Dmitry Rodionov authored
-
pico.whoami() returns new field tier
-
- Nov 07, 2023
-
-
Dmitry Rodionov authored
-
- Nov 06, 2023
-
-
Kurdakov Alexander authored
Transferred replication factor from Properties table to new Tier table Instance and Replicaset belongs to tier via new field tier in _pico_instance and _pico_replicaset New cli option init-cfg with path to configuration file in yaml format. For now contains only info about tiers.
-
- Nov 03, 2023
-
-
Feodor Alexandrov authored
-
-
-
-
-
-
-
-
-
-
-
-
- Nov 02, 2023
-
-
Dmitry Rodionov authored
Was changed in this commit: https://git.picodata.io/picodata/picodata/picodata/-/commit/4b3b1650423e83724dc8915a0d5bb0c643c31a80 I believe this change was introduced by mistake (most probably because of bulk rename)
-
- Nov 01, 2023
-
-
Denis Smirnov authored
-
Denis Smirnov authored
BREAKING CHANGE!: - pico.trace() function was removed. Use pico.sql() for tracing; - opentelemetry tables __SBROAD_STAT and __SBROAD_QUERY were renamed into _SQL_STAT and _SQL_QUERY tables. Introduce enrypoints for extended PG protocol: - pg_bind: bind parameters to portal (IR) by descriptor; - pg_close: remove portal from the storage by descriptor; - pg_describe: get the portal metadata and type by descriptor; - pg_execute: execute portal by descriptor; - pg_parse: parse an SQL pattern into IR (reusing LRU), save IR into portal storage and return the descriptor; - pg_portals: get a list of portal descriptors visible to the current user; Co-authored-by:
Kaitmazian Maksim <m.kaitmazian@picodata.io>
-
-
- Oct 31, 2023
-
-
Dmitry Rodionov authored
main.rs has grown a bit, adding new stuff to it doesnt feel natural. Smaller files are easier to digest. For me it is easier to find stuff when there are less files on the top level and some hierarchy shows. where to go. A while back I wanted to move sql command to separate file but there is already sql.rs on the top level. This patch solves this issue.
-
Arseniy Volynets authored
-
Follow-up for 2b1bd622 > submodule.<name>.branch > > A remote branch name for tracking updates in the upstream submodule. > If the option is not specified, it defaults to the remote HEAD. The `origin/HEAD` is the default branch in GitLab. In case of tarantool-sys nowadays it corresponds to `2.11.0-picodata`. This option is responsible for the correct operation of git submodule update --remote tarantool-sys
-
- Oct 30, 2023
-
-
Dmitry Rodionov authored
-
-
It was previously used in luamod.rs in ops like create_space. Its usage was replaced by reenterable_schema_change_request in both Rust and Lua.
-
- Oct 27, 2023
-
-
Georgy Moshkin authored
-
- Oct 26, 2023
-
-
EmirVildanov authored
feat: add tests for tables format and parameters len, fix bucket_id calculation, add support of is_nullable sql metadata
-
- Oct 25, 2023
-
-
Georgy Moshkin authored
-
- Oct 24, 2023
-
-
Дмитрий Кольцов authored
-
Дмитрий Кольцов authored
-
- Oct 23, 2023
-
-
Дмитрий Кольцов authored
Add ability to choose multiple fd values in filter Add side menu Fix layout to make UI consistent with design
-