Skip to content
Snippets Groups Projects
  1. Aug 18, 2022
  2. Aug 17, 2022
  3. Aug 16, 2022
  4. Aug 15, 2022
    • reusee's avatar
      fileservice: various changes (#4511) · 4b792839
      reusee authored
      fileservice: refactor testBlockMapper
      
      fileservice: use CRC32 since most CPU has crc32 instructions
      
      fileservice: rename BlockMappable to FileLike
      
      fileservice: rename BlockMapper to FileWithChecksum
      
      fileservice: ignore ignored io entries in S3 bytes-range calculation
      
      Approved by: @lni
    • daviszhen's avatar
      connect the context.Context in modules (frontend,metric and trace) (#4494) · 19d6c553
      daviszhen authored
      In previous design, there is not context.Context going through the frontend and the computation engine.
      In 0.6, the computation engine introduces the context.Context.
      So, I add the context.Context in the frontend and try to connect context.Context with modules -- metric and trace.
      I am not sure the usage of the conext.Context in these modules is right. So I propose the PR.
      
      The hierarchy of the context.Context:
      ```
      rootCtx(context.Background)
      |
      |
      WithCancel()
      |
      |
      \|/
      cancelMoServerCtx
      |
      |
      WithValue(configuration)
      |
      |
      moServerCtx
      |
      |
      ----------------------------> context in metric, trace
      |
      |
      \|/
      cancelRoutineCtx (every network connection has an independent context)
      |
      |
      ------> WithCancel----->AuthenticateCtx (login authentication -- user, password, role)
      |
      |
      cancelRequestCtx (every request from the client has a new context)
      |
      |
      -------> WithCancel ------> LoadBatchCtx ( every batch has a independent context)
      ```
      
      Approved by: @fengttt, @yingfeng, @aptend
    • iamlinjunhong's avatar
      modify error msg for func of agg (#4515) · eb4884a2
      iamlinjunhong authored
      Approved by: @aressu1985, @aunjgr, @ouyuanning
    • qingxinhome's avatar
      Agg sum with decimal (#4493) · 534c8bee
      qingxinhome authored
      * aggrate sum decimal
      
      * sum with decimal
      
      * modify aggrate sum code
    • Jackson's avatar
      bugfix trace ut & data race (#4495) · a954346d
      Jackson authored
      - fix failed ut with timer in `batch_processor_test.go`, which have a little random problem
      - fix data race in `batch_processor.go`, which is not found in previous CI.
      
      Approved by: @fengttt
    • qingxinhome's avatar
      Support UUID function#4019 (#4474) · 46f1fea8
      qingxinhome authored
      Support uuid function
      
      Approved by: @aressu1985, @ouyuanning
    • jiangxinmeng1's avatar
      fix catalog replay (#4476) · f31effdd
      jiangxinmeng1 authored
      Fix replay catalog. Replace baseEntry in onReplay().
      
      Approved by: @XuPeng-SH