Skip to content
Snippets Groups Projects
  1. 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
    • Yaroslav Dynnikov's avatar
      chore: trailing whitespace · 58277c47
      Yaroslav Dynnikov authored
      58277c47
  2. Sep 23, 2024
  3. Sep 20, 2024
  4. Sep 19, 2024
  5. Sep 18, 2024
  6. Sep 17, 2024
  7. Sep 16, 2024
  8. Sep 13, 2024
  9. Sep 12, 2024
Loading