- Oct 13, 2022
-
-
daviszhen authored
1, fix compound privilege; 2,add restriction for catalog; 3,add privilege check for PREPARE; 4,add coverage bvt cases for basic privilege; Approved by: @aressu1985, @yingfeng, @fengttt
-
XuPeng-SH authored
1. Refactor dirty block collector 2. Add a background dirty block printer Approved by: @aptend
-
JacksonXie authored
modify `GOLDFLAGS` params in `Makefile`, then `mo-service --version` can show missing info: `commit id` and `version` like: ``` MatrixOne build info: The golang version used to build this binary: go version go1.19 linux/arm64 Git branch name: show_version Git commit ID: fdd2355ab63e1a3bb009cc96fad9dd4dd6ff2ac9 Buildtime: Wed Oct 12 15:07:30 CST 2022 Version: v0.5.1 ``` Approved by: @fengttt, @zhangxu19830126
-
YANGGMM authored
index out of range [0] with length 0 during bin() Approved by: @aunjgr, @aressu1985, @ouyuanning
-
- Oct 12, 2022
-
-
reusee authored
Approved by: @fengttt
-
tianyahui-python authored
Approved by: @aressu1985
-
goodMan-code authored
Approved by: @aressu1985
-
YANGGMM authored
fix code for invalid regexp pattern Approved by: @fengttt, @aressu1985, @aunjgr
-
ou yuanning authored
fix some prepare bug: 1、 do not deepcopy ddl plan when execute prepare statement 2、get execute int64 parameter data use int16. such a low low level bug. Approved by: @aressu1985, @daviszhen, @aunjgr
-
jiangxinmeng1 authored
1. Fix logstore replay 2. Free entries after replay Approved by: @XuPeng-SH
-
ou yuanning authored
add getDNStore by expr Approved by: @nnsgmsone
-
jiangxinmeng1 authored
refactor mergeblocks Approved by: @fengttt, @XuPeng-SH
-
prinz authored
Approved by: @dengn
-
nnsgmsone authored
Approved by: @ouyuanning
-
jiangxinmeng1 authored
1. remove parse error 2. fix mergeblocks Approved by: @XuPeng-SH
-
JacksonXie authored
improve `FileService::Delete` support multi filepath params - Modify `Delete(ctx, filePath)` to `Delete(ctx, filePaths...)` - in `S3FS` delete action like this: ``` if len(filePaths) == 0, return nil if len(filePaths) == 1, return deleteSingle(ctx, filePaths[0]) // len > 1 foreach 1000 filePath in filePaths output, err = S3.DeleteObjects( 1000 filepath ) if err return err if len(output.Errors) > 0 // Key is filepath; Code is error code(string type), Message is advice from s3. Wrap error_message as "...; {Error.Key}: {Error.Code}, {Error.Message}; ... " return moerr.NewInternal(..., error_message) ``` - others ``` foreach filePath in filePaths if err = deleteSingle(ctx, filePatsh); err != nil { return err } ``` Approved by: @reusee
-
XuPeng-SH authored
1. Fix some memory leaks during the replay 2. Code refactor Approved by: @yingfeng
-
nnsgmsone authored
memengine: Fix the bug of memorystorage(return the true defaultexpr) disttae: Adapting the logic of tae Approved by: @reusee, @ouyuanning, @aunjgr
-
YANGGMM authored
support minus (-) operator for DATE/DATETIME type Approved by: @ouyuanning, @aressu1985, @aunjgr, @nnsgmsone
-
- Oct 11, 2022
-
-
prinz authored
Approved by: @dengn
-
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 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 authored
Fix a small code bug Approved by: @yingfeng
-
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 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 authored
Approved by: @ouyuanning
-
reusee authored
memorystorage: fix log tail reading deleted data Approved by: @nnsgmsone
-
bRong Njam authored
Approved by: @nnsgmsone, @fengttt
-
jiangxinmeng1 authored
Approved by: @XuPeng-SH
-
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 authored
Approved by: @yingfeng
-
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 authored
Approved by: @ouyuanning, @aunjgr, @aressu1985
-
fengttt authored
* Add mpool dispose. Fix a memory leak. * Dispose session asap.
-
nnsgmsone authored
Approved by: @reusee
-
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:
fengttt <fengttt@gmail.com>
-
YANGGMM authored
support datediff and timestampdiff function Approved by: @ouyuanning, @iamlinjunhong, @aunjgr, @aressu1985, @nnsgmsone
-
jiangxinmeng1 authored
1. Skip collectdeletes when get value 2. Update isdeletedlocked Approved by: @XuPeng-SH
-
- Oct 10, 2022
-
-
iamlinjunhong authored
Approved by: @daviszhen, @aressu1985, @ouyuanning
-
fengttt authored
* Adding mo_memory_usage function. * Adding a heavy weight debug tool, select mo_enable_memory_usage_detail. * Fix UT.
-