Skip to content
Snippets Groups Projects
  1. Oct 13, 2022
  2. Oct 12, 2022
  3. Oct 11, 2022
    • prinz's avatar
      fix description bug about ssb-test and installation (#5470) · 43446ad2
      prinz authored
      Approved by: @dengn
    • triump2020's avatar
      [#4694]Txn 2 pc mvcc (#5545) · e55b55b9
      triump2020 authored
      1. Add UT for 2PC MVCC visiability
      2. Fixed bugs for 2PC committing flow, and 2PC MVCC visiability.
      TODO::
      - [ ] TxnStorage interface: StartRecovery
      
      Approved by: @zhangxu19830126, @XuPeng-SH
    • aptend's avatar
      fix: no system db and tables in logtail response (#5544) · 528b0d4d
      aptend authored
      - return system db and tables if cn query logtail using zero timestamp as the start, keep consistent with memoryengine
      
      Approved by: @XuPeng-SH
    • XuPeng-SH's avatar
      fix a small bug (#5529) · 2dece75e
      XuPeng-SH authored
      Fix a small code bug
      
      Approved by: @yingfeng
    • reusee's avatar
      memoryengine bug fixes (#5533) · 68e7d7ac
      reusee authored
      memoryengine: for system table, create iter in single shard in reader
      memorystorage: support multiple storages in StorageTxnClient
      memorystorage: add another DN to TestStorageTxnClient
      memorystorage: fix TestStorageTxnClient
      memorystorage: check table existence in MemoryHandler.HandleDelete
      memorystorage: generate database and table id in CN
      memorystorage: add testStorageTxnClient
      
      Approved by: @nnsgmsone
    • JacksonXie's avatar
      record ExecPlan total RowsRead, BytesScan (#5502) · a40891d8
      JacksonXie authored
      statistics total RowsRead and BytesScan from ExecPlan, record it in table `system.statement_info` column `rows_read` and `bytes_scan`
      - sum `Input Rows` and `Input Size` statistics from node `External Scan` and `Table Scan`
      
      Approved by: @daviszhen, @ouyuanning, @aunjgr, @fengttt
    • nnsgmsone's avatar
      Adding the processing of block list of table (#5535) · 94fd4ada
      nnsgmsone authored
      Approved by: @ouyuanning
    • reusee's avatar
      memorystorage: fix log tail reading deleted data (#5512) · 1ad86ebf
      reusee authored
      memorystorage: fix log tail reading deleted data
      
      Approved by: @nnsgmsone
    • bRong Njam's avatar
      Manage hashtable's memory with mpool (#5531) · acfa7bc7
      bRong Njam authored
      Approved by: @nnsgmsone, @fengttt
    • jiangxinmeng1's avatar
      rollback compact if there're deletes (#5469) · 59dbabaf
      jiangxinmeng1 authored
      Approved by: @XuPeng-SH
    • JacksonXie's avatar
      improve query log format, log in oneline (#5528) · c01a8ccc
      JacksonXie authored
      fix log format with query trace and exec status.
      
      - new log
      ```
      2022/10/11 12:18:59.112405 +0800 INFO frontend/mysql_cmd_executor.go:2523 query trace {"connection_id": 1001, "query": "select * from not_exist where con = \"1\""}
      ...
      2022/10/11 12:22:03.578134 +0800 ERROR frontend/util.go:454 query trace status {"connection_id": 1001, "statement": "select * from not_exist where con = \"1\"", "status": "fail", "error": "SQL parser error: table \"not_exist\" does not exist"}
      github.com/matrixorigin/matrixone/pkg/frontend.logStatementStringStatus
      /Users/jacksonxie/go/src/github.com/matrixorigin/matrixone/pkg/frontend/util.go:454
      github.com/matrixorigin/matrixone/pkg/frontend.logStatementStatus
      /Users/jacksonxie/go/src/github.com/matrixorigin/matrixone/pkg/frontend/util.go:446
      github.com/matrixorigin/matrixone/pkg/frontend.(*MysqlCmdExecutor).doComQuery
      /Users/jacksonxie/go/src/github.com/matrixorigin/matrixone/pkg/frontend/mysql_cmd_executor.go:2486
      github.com/matrixorigin/matrixone/pkg/frontend.(*MysqlCmdExecutor).ExecRequest
      /Users/jacksonxie/go/src/github.com/matrixorigin/matrixone/pkg/frontend/mysql_cmd_executor.go:2555
      github.com/matrixorigin/matrixone/pkg/frontend.(*Routine).Loop
      /Users/jacksonxie/go/src/github.com/matrixorigin/matrixone/pkg/frontend/routine.go:125
      ```
      
      - original log
      ```
      2022/10/11 12:13:59.131764 +0800 ERROR frontend/util.go:454 Connection id: 1003 Query:select * from not_exist where con = "1"
      ...
      2022/10/11 12:13:59.131764 +0800 ERROR frontend/util.go:454 Connection id: 1003 Status: fail Statement: select * from not_exist where con = "1" Error: SQL parser error: table "not_exist" does not exist
      github.com/matrixorigin/matrixone/pkg/frontend.logStatementStringStatus
      /Users/jacksonxie/go/src/github.com/matrixorigin/matrixone/pkg/frontend/util.go:454
      github.com/matrixorigin/matrixone/pkg/frontend.logStatementStatus
      /Users/jacksonxie/go/src/github.com/matrixorigin/matrixone/pkg/frontend/util.go:446
      github.com/matrixorigin/matrixone/pkg/frontend.(*MysqlCmdExecutor).doComQuery
      /Users/jacksonxie/go/src/github.com/matrixorigin/matrixone/pkg/frontend/mysql_cmd_executor.go:2486
      github.com/matrixorigin/matrixone/pkg/frontend.(*MysqlCmdExecutor).ExecRequest
      /Users/jacksonxie/go/src/github.com/matrixorigin/matrixone/pkg/frontend/mysql_cmd_executor.go:2555
      github.com/matrixorigin/matrixone/pkg/frontend.(*Routine).Loop
      /Users/jacksonxie/go/src/github.com/matrixorigin/matrixone/pkg/frontend/routine.go:125
      ```
      
      Approved by: @ouyuanning, @daviszhen
    • nnsgmsone's avatar
      Implementing Truncate (#5527) · b3090a65
      nnsgmsone authored
      Approved by: @yingfeng
    • ou yuanning's avatar
      Change delete plan (#5479) · 3f618968
      ou yuanning authored
      1、 only rowid will return in delete plan now.
      2、change Delete interface Of Relation. we need more columns for input in future(when we get partition columns). so change arg2 from Vector to Batch
      
      Approved by: @nnsgmsone, @iamlinjunhong, @reusee, @aunjgr, @daviszhen, @XuPeng-SH, @fengttt
    • bbbearxyz's avatar
      report err when primary key contain no exist col (#5520) · 7808ec96
      bbbearxyz authored
      Approved by: @ouyuanning, @aunjgr, @aressu1985
    • fengttt's avatar
      Add mpool dispose. (#5521) · 4972bbf9
      fengttt authored
      * Add mpool dispose.
      
      Fix a memory leak.
      
      * Dispose session asap.
    • nnsgmsone's avatar
      Add default rowid (#5522) · e48ebb70
      nnsgmsone authored
      Approved by: @reusee
    • bRong Njam's avatar
      Copy go slice's memory growth strategy to mpool (#5514) · 7b5fb098
      bRong Njam authored
      
      After migrating to the new mempool, time cost of tpc-h queries has been
      increased by 2.5x. Profiling shows that it's due to the conservative
      memory growth strategy in `mpool.Grow`. I copy-paste the go slice's
      growth strategy here, and it works well in tpc-h benchmark.
      
      Co-authored-by: default avatarfengttt <fengttt@gmail.com>
    • YANGGMM's avatar
      Feature 3753:support datediff and timestampdiff function (#5506) · 78856df4
      YANGGMM authored
      support datediff and timestampdiff function
      
      Approved by: @ouyuanning, @iamlinjunhong, @aunjgr, @aressu1985, @nnsgmsone
    • jiangxinmeng1's avatar
      update get value (#5518) · e20e8191
      jiangxinmeng1 authored
      1. Skip collectdeletes when get value
      2. Update isdeletedlocked
      
      Approved by: @XuPeng-SH
  4. Oct 10, 2022