Skip to content
Snippets Groups Projects
  1. Mar 26, 2024
  2. Mar 20, 2024
  3. Mar 19, 2024
  4. Mar 18, 2024
  5. 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
    • Arseniy Volynets's avatar
      fix: check prohibited spaces against op, not ranges · 5ead8a7d
      Arseniy Volynets authored and Georgy Moshkin's avatar Georgy Moshkin committed
      5ead8a7d
    • Georgy Moshkin's avatar
      test: simplify test_audit.py · 73076b4e
      Georgy Moshkin authored and Yaroslav Dynnikov's avatar Yaroslav Dynnikov committed
      There was a huge amount of boilerplate code with redundant abstractions.
      The test code must be as simple as possible and making abstractions over
      simple data is not a way to go, especially when builtin types such as
      dict do the trick just as easily.
      
      The prettiness of the test code should be out lowest priority.
      73076b4e
  6. Mar 12, 2024
  7. Mar 11, 2024
  8. Mar 07, 2024
  9. Mar 06, 2024
Loading