Skip to content
Snippets Groups Projects
  1. Apr 04, 2024
  2. Apr 03, 2024
  3. Apr 01, 2024
  4. Mar 29, 2024
  5. Mar 28, 2024
  6. Mar 27, 2024
  7. Mar 26, 2024
  8. Mar 21, 2024
  9. Mar 20, 2024
  10. Mar 19, 2024
  11. Mar 18, 2024
  12. Mar 13, 2024
    • Yaroslav Dynnikov's avatar
      chore: unify codestyle in governor/plan.rs · 2e9a270e
      Yaroslav Dynnikov authored
      Here's the order of plan stages for memories:
      
      ```
      $ grep "return Ok" src/governor/plan.rs
      return Ok(ConfChange { conf_change }.into());
      return Ok(TransferLeadership { to: new_leader }.into());
      return Ok(Downgrade { req }.into());
      return Ok(CreateReplicaset { master_id, replicaset_id, rpc, op }.into());
      return Ok(UpdateTargetReplicasetMaster { op }.into());
      return Ok(Replication { targets, master_id, replicaset_peers, req }.into());
      return Ok(UpdateCurrentReplicasetMaster { old_master_id, demote, new_master_id, sync_and_promote, replicaset_id, op }.into());
      return Ok(ProposeReplicasetStateChanges { op }.into());
      return Ok(UpdateTargetVshardConfig { dml }.into());
      return Ok(UpdateCurrentVshardConfig { targets, rpc, dml }.into());
      return Ok(ShardingBoot { target, rpc, op }.into());
      return Ok(ToOnline { target, rpc, req }.into());
      return Ok(ApplySchemaChange { rpc, targets }.into());
      ```
      2e9a270e
    • Arseniy Volynets's avatar
      feat: support batch dml · ab377bad
      Arseniy Volynets authored and Georgy Moshkin's avatar Georgy Moshkin committed
      - Add new DML op: Batch, which allows
      using multiple dml operations in one
      CAS request
      - If request has too many dml operations,
      the batch will be splitted into multiple
      batches, so that each batch can be stored
      in raft log
      ab377bad
    • Arseniy Volynets's avatar
      refactor: extract applying dml op into a func · ca21a43f
      Arseniy Volynets authored and Georgy Moshkin's avatar Georgy Moshkin committed
      ca21a43f
Loading