- Dec 19, 2024
-
-
-
Georgy Moshkin authored
TopologyCache is a collection of deserialized structures with information about cluster topology. This currently includes data from _pico_instance, _pico_replicaset, _pico_tier & _pico_service_route_table. The info is automatically kept up to date with the corresponding system tables. The TopologyCache also caches the immutable info related to the current instance, like instance name, replicaset uuid, etc. From now on we should be reading this data from TopologyCache whenever possible instead of going directly to system tables as we were doing previosly. At the moment only the plugin RPC module has transitioned to using TopologyCache but other modules should be refactored as well. Especially governor.
-
- Dec 09, 2024
-
-
Kurdakov Alexander authored
Introduce new parameters for alter system: - vdbe_max_steps - vtable_max_rows
-
- Nov 30, 2024
-
-
Georgy Moshkin authored
Closes #1130
-
Georgy Moshkin authored
Add new files: - storage/snapshot.rs: stuff related to raft snapshot - storage/schema.rs: stuff related to DDL logic Code is only moved, no changes to logic
-
- Nov 20, 2024
-
-
Kurdakov Alexander authored
-
- Nov 14, 2024
-
-
- Nov 01, 2024
-
-
Кирилл Безуглый authored
-
- Oct 28, 2024
-
-
Georgy Moshkin authored
-
- Oct 25, 2024
-
-
- Oct 24, 2024
-
-
Dmitry Rodionov authored
It is now possible to write in migration `@_plugin_config.foo` where foo is variable from plugin configuration. Note that configuration typically belongs to individual services, in catalog this field is called entity. For migration special values there is special entity called `migration_context`. So corresponding alter looks this way: ALTER PLUGIN p 0.1.0 SET migration_context.foo = '"nondefault"' (extra quotes are temporary, and should be dealt with separately) Closes https://git.picodata.io/picodata/picodata/picodata/-/issues/659
-
- Oct 22, 2024
-
-
-
Вартан Бабаян authored
-
Вартан Бабаян authored
-
- Oct 15, 2024
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
Add new config::AlterSystemParameters struct which is responsible for definitions of system parameters, their default values and mapping to sbroad type. This is a big step towards moving all system parameters from _pico_property into another system table.
-
- Oct 10, 2024
-
-
Вартан Бабаян authored
-
- Sep 27, 2024
-
-
- Sep 24, 2024
-
-
Yaroslav Dynnikov authored
Up to this patch `instance_uuid` and `replicaset_uuid` were generated using name-based UUID v3. So all instances named `i1` in all clusters had the same UUID. With this patch UUIDs become random v4. Particular UUID values are generated in two locations: 1. `start_boot` (src/lib.rs) 2. `handle_join_request_and_wait` -> `build_instance` (src/rpc/join.rs) Function `Instance::new()` is removed in favor of explicit struct construction.
-
- Sep 20, 2024
-
-
Closes #664
-
- Sep 16, 2024
-
-
- Sep 13, 2024
-
-
Kurdakov Alexander authored
Move vshard related fields from _pico_property to _pico_tier and adapt it in governor algorithm
-
- Sep 09, 2024
-
-
-
Georgy Moshkin authored
-
Вартан Бабаян authored
-
- Sep 06, 2024
-
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
- Aug 26, 2024
-
-
EmirVildanov authored
-
Feodor Alexandrov authored
feat: support ALTER SYSTEM. It allows to change whitelisted properties from _pico_property table. Currently, changes affect all tiers. Specifying tier will result in an error. Co-Authored-by:
Dmitry Rodionov <d.rodionov@picodata.io> Co-Authored-by:
Emir Vildanov <e.vildanov@picodata.io>
-
- Aug 23, 2024
-
-
Вартан Бабаян authored
-
- Aug 21, 2024
-
-
Georgy Moshkin authored
- Simplify code - Check plugin exists on client side
-
Georgy Moshkin authored
- Move all preconditions checking to the client - Return errors if preconditions fail instead of silently ignoring them
-
- Aug 20, 2024
-
-
Georgy Moshkin authored
- Don't ignore operation if plugin is already enabled, the client must take care of this via the CaS ranges - Don't propose mutliple Raft operations during one step as this may lead to inconsistencies in case of crashes
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-
Georgy Moshkin authored
-