Skip to content
Snippets Groups Projects
  1. May 26, 2023
  2. May 25, 2023
  3. May 24, 2023
  4. May 23, 2023
  5. May 19, 2023
  6. May 18, 2023
  7. May 17, 2023
  8. May 15, 2023
  9. 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
    • Denis Smirnov's avatar
      feat: improve pico.sql function · 7be08d9c
      Denis Smirnov authored
      Now it is possible to make the second argument (query parameters)
      optional. I.e. now we support 'pico.sql([[select * from t]])' as
      well as 'pico.sql([[select * from t where a = ?]], {1})'.
      Verified
      7be08d9c
Loading