- Aug 17, 2022
-
-
mo-bot authored
-
Abirdcfly authored
Signed-off-by:
Abirdcfly <fp544037857@gmail.com> Signed-off-by:
Abirdcfly <fp544037857@gmail.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by:
Yingfeng <yingfeng.zhang@gmail.com> Co-authored-by:
lni <nilei81@gmail.com> Co-authored-by:
fengttt <fengttt@gmail.com>
-
bRong Njam authored
This commit adds a `*time.Location` instance in both `frontend.Session` and `process.SessionInfo`, to store session level timezone info. We can use `set time_zone=XXX` to modify it. Three different formats are supported, the same as MySQL: * set time_zone="SYSTEM". It sets timezone to your operating system's value, which is the default. * set time_zone="+01:00". The timezone string specifies offset to UTC. It comprises a not omittable "+/-" sign, 2-digit hour, a ":" sign, and 2-digit minute. Legal values are between -13:59 and +14:00. * set time_zone="America/New_York". The timezone string is a legal IANA TZ database name. TIMESTAMP values are converted from the current time zone to UTC for storage, and back from UTC to the current time zone for retrieval. (This does not occur for other types such as DATETIME.) Approved by: @daviszhen, @fengttt, @ouyuanning, @aptend, @aressu1985, @nnsgmsone
-
brown authored
1. Add the ignore type .pb. go to Labeler. 2. Fixed some bugs in UT_PR and optimized the output. Approved by: @yingfeng, @sukki37
-
qingxinhome authored
Convert the result of decimal64 sum aggregation to decimal128 Approved by: @nnsgmsone, @aunjgr, @fengttt
-
- Aug 16, 2022
-
-
nnsgmsone authored
Approved by: @yingfeng
-
iamlinjunhong authored
-
Jackson authored
mo has its own error code/message, and need to adapt mysql error code. - define `moErrorMsgItem{errorCode, mysqlErrorCode, errorMsgOrFormat}` to handle `moErrorCode->mysqlErrorCode` mapping rules - define `New(errorCoe, args)` and `NewWithContext(context.Context, errorCode, args)` to handle error reporting - modify reference of `moerr.ErrTxnClosed` error, as an example of `moerr.New(...)` - predefine `Group 6: sql error` as sql error, which normally can be converted to mysql error code. Approved by: @fengttt, @zhangxu19830126, @ouyuanning, @nnsgmsone
-
iamlinjunhong authored
Approved by: @ouyuanning, @aunjgr, @aressu1985
-
fagongzi authored
-
ou yuanning authored
Add bit or/and/xor function support. (they are bit operator, not bool, not agg) Approved by: @aressu1985, @aunjgr
-
ou yuanning authored
Fix prepare/execute stmt bug Approved by: @daviszhen, @aressu1985, @aunjgr
-
XuPeng-SH authored
Add more states and interfaces for TxnCtx Approved by: @JinHai-CN, @fengttt
-
dongdongyang authored
add intersect Approved by: @nnsgmsone, @aressu1985
-
lni authored
Made tan's buffer size configurable, reduced buffer size in tests to be 16KBytes each, it was 4MBytes each. Also set debug.SetMemoryLimit(1GBytes) to further reduce memory usage when running TestGossipInSimulatedCluster. Approved by: @yingfeng
-
- Aug 15, 2022
-
-
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 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 authored
Approved by: @aressu1985, @aunjgr, @ouyuanning
-
qingxinhome authored
* aggrate sum decimal * sum with decimal * modify aggrate sum code
-
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 authored
Support uuid function Approved by: @aressu1985, @ouyuanning
-
jiangxinmeng1 authored
Fix replay catalog. Replace baseEntry in onReplay(). Approved by: @XuPeng-SH
-
prinz authored
Approved by: @dengn
-
prinz authored
Approved by: @fengttt, @dengn
-
ou yuanning authored
add view support in MO Approved by: @fengttt, @iamlinjunhong, @aunjgr, @daviszhen, @nnsgmsone, @XuPeng-SH, @reusee, @aressu1985
-
- Aug 14, 2022
-
-
fagongzi authored
Upgrade goetty to v2 for mysql prototcol. To support tls in the future Approved by: @yingfeng, @daviszhen
-
reusee authored
fileservice: add BlockMappable interafce fileservice: optimize LocalFS.Read Approved by: @lni
-
fengttt authored
Moved const def from plan.pb to container types. Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
reusee authored
fileservice: fix DataMapper.readBlock,Read,Seek fileservice: implement io.ReaderAt,WriterAt for BlockMapper fileservice: use BlockMapper in LocalFS Approved by: @lni
-
- Aug 13, 2022
-
-
lni authored
Enabled TestGossipInSimulatedCluster to be always executed, it simulates a 48 nodes cluster to test gossip on log shard info. The test is slightly tweaked to check all nodes except one can get expected shard info in a timely manner. Updated go.mod to use a private fork of memberlist for now as the upstream version has known data race issue. Approved by: @yingfeng
-
fagongzi authored
Add context parameter to TxnStorage Approved by: @reusee, @lni
-
fengttt authored
* Remove tae types. One type system for all. Removed tae types. Moved encoding into types to reduce a cyclic dependencies. Most the changes are like find . -type f -exec sed -i 's/Type_BOOL/T_bool/g' {} \; Some mock code in tae types are moved to container types. I don't think those clock related actually belongs to types, but kept within types so that the rest of the code refactoring is automatic. * go fmt.
-
GreatRiver authored
Approved by: @XuPeng-SH
-
GreatRiver authored
This case is no longer used, and there may be a timeout, so delete it. Approved by: @fengttt, @XuPeng-SH
-
reusee authored
fileservice: add BlockMapper Approved by: @fengttt
-
reusee authored
add testtxnengine package refactor sharding in txnengine Approved by: @zhangxu19830126
-
brown authored
Approved by: @sukki37
-
- Aug 12, 2022
-
-
fagongzi authored
Add checksum support for morpc Approved by: @lni, @reusee
-
triump2020 authored
Approved by: @XuPeng-SH
-
GuokeCui authored
- Implement interface `ClusterWaitState` which is used to wait for some expected state; - Add more convenient methods within interface `ClusterState`; - Add unit test, and make all unit tests runnable; Approved by: @zhangxu19830126, @lni
-