Skip to content
Snippets Groups Projects
  1. Nov 14, 2024
  2. Oct 28, 2024
  3. Oct 25, 2024
  4. Oct 22, 2024
  5. Oct 14, 2024
  6. Sep 24, 2024
    • Yaroslav Dynnikov's avatar
      feat: make uuids truly unique · 23cddcd0
      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.
      23cddcd0
    • Yaroslav Dynnikov's avatar
      test: refactor struct Instance inner tests · cc41e539
      Yaroslav Dynnikov authored
      The main purpose is to reduce the usage of `Instance::new()` function.
      It's going to be removed soon. No behavior changes are introduced yet.
      cc41e539
  7. Sep 13, 2024
  8. Sep 06, 2024
  9. Aug 30, 2024
  10. Aug 27, 2024
  11. Jul 04, 2024
  12. May 17, 2024
  13. Apr 17, 2024
    • Georgy Moshkin's avatar
      fix: used to join instances with duplicate instance ids · 6a3b0dca
      Georgy Moshkin authored
      Before this change we would silently replace an instance with current
      grade not Online if a new instance with the same name wanted to join.
      This was a mistake as it would allow a race condition when joining
      several instances at once.
      6a3b0dca
  14. Apr 16, 2024
  15. Nov 27, 2023
  16. Nov 21, 2023
  17. Nov 16, 2023
  18. Nov 14, 2023
  19. Nov 09, 2023
  20. Nov 06, 2023
    • Kurdakov Alexander's avatar
      feat: add tier entity · 701aa4ab
      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.
      701aa4ab
  21. Aug 25, 2023
  22. Aug 18, 2023
  23. Feb 02, 2023
  24. Dec 23, 2022
Loading