Skip to content
Snippets Groups Projects
  1. Jan 27, 2025
  2. Jan 10, 2025
  3. Oct 28, 2024
    • Georgy Moshkin's avatar
      fix: don't update current_master_name until it synchronizes · 21aae682
      Georgy Moshkin authored
      This patch changes when we update current_master_name during consistent
      master switchover. Now it is updated as soon as we determine that the
      new master has synchronized it's vclock with the old master.
      
      As a result we can now block expel of a non-last replica in cases where
      other replicas are offline, which is crucial because instances can
      easily become offline due to temporary network issues.
      21aae682
  4. Aug 27, 2024
  5. Aug 22, 2024
  6. Apr 09, 2024
    • godzie44's avatar
      feature: plugins · 26b11774
      godzie44 authored and Yaroslav Dynnikov's avatar Yaroslav Dynnikov committed
      Introduce a plugin system for picodata cluster.
      Plugin system contains:
      - `picoplugin` crate with plugin interfaces.
      This crate exposes plugin interfaces for user implementation and API
      that used by picodata to interact with plugin as with a code from dynamic library.
      - Support for plugin work cycle in picodata instance work cycle.
      Picodata instance interacts with running plugin by `PluginManager`
      component.
      Typically, plugins react to events that occur in instance or whole cluster.
      - New lua API with plugin CRUD actions.
          - pico.create_plugin - load a new plugin into picodata cluster
          - pico.remove_plugin - remove plugin from picodata cluster
          - pico.update_plugin_config - update plugin service configuration
      26b11774
  7. Feb 12, 2024
  8. Feb 05, 2024
  9. Dec 19, 2023
  10. Nov 16, 2023
  11. Jul 27, 2023
  12. Jun 02, 2023
  13. Jun 01, 2023
  14. May 26, 2023
  15. May 19, 2023
  16. May 12, 2023
    • Georgy Moshkin's avatar
      fix: used to sync log to leader's commit which lags behind applied · 57f02c40
      Georgy Moshkin authored and Yaroslav Dynnikov's avatar Yaroslav Dynnikov committed
      This used to cause flakyness of test_bucket_rebalancing_respects_replication_factor
      like this:
      
      - governor proposes entry at index N with weight updates,
        and waits till it's applied
      
      - commit index is not updated yet, but governor calls rpc::sharding to
        update the weights in the vshard subsystem on instances and passes the
        lagging commit index for syncing
      
      - peers sync up to the lagging commit index and then reconfigure vshard
        to the outdated weights
      
      - governor thinks everything is in order and waits for updates
      
      - the test fails because buckets don't get rebalanced to the storages
        with weights set to 0
      57f02c40
  17. Dec 16, 2022
  18. Dec 05, 2022
  19. Dec 01, 2022
  20. Nov 28, 2022
  21. Nov 09, 2022
  22. Oct 31, 2022
  23. Oct 27, 2022
  24. Oct 26, 2022
  25. Oct 25, 2022
  26. Oct 17, 2022
  27. Oct 06, 2022
Loading