Skip to content
Snippets Groups Projects
  1. May 25, 2023
  2. May 24, 2023
  3. May 23, 2023
  4. May 19, 2023
  5. May 18, 2023
  6. May 17, 2023
  7. May 15, 2023
  8. 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
  9. May 11, 2023
  10. May 05, 2023
  11. May 04, 2023
    • Denis Smirnov's avatar
      feat: add distributed SQL support · a1ed2657
      Denis Smirnov authored
      
      Current commit introduces distributed SQL in picodata (we use
      'sbroad' library). Now it is possible to execute cluster-wide
      SQL with 'pico.sql([[query]], {params})' lua method.
      
      Current limitations:
      1. DDL is still not implemented in picodata, so space sharding
         is mocked by '_pico_space' space (we'll remove it later).
      2. We still have duplicating symbols of the Tarantool module in
         sbroad and in picodata rlibs.
      3. We need to reuse piocdata's sharding functions and handle the
         case when different spaces in the query have different sharding
         functions.
      
      Co-authored-by: Georgy Moshkin's avatarGeorgy Moshkin <gmoshkin@picodata.io>
      Verified
      a1ed2657
Loading