- 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
-
iamlinjunhong authored
Approved by: @aressu1985, @ouyuanning, @aunjgr
-
Jackson authored
- Make statement/trace/log/error interrelated by statement_id/span_id. - store in db, make it can be search by sql cmd. - error framework provide a unified format to display and optimize error info Approved by: @fengttt, @daviszhen, @aptend, @yingfeng, @aressu1985
-
fagongzi authored
Closing un started dn shard will be blocked Approved by: @lni
-
GreatRiver authored
Approved by: @XuPeng-SH
-
jiangxinmeng1 authored
Fix mergeblocks. Record deleteMask for those with primary key. Approved by: @XuPeng-SH
-
qingxinhome authored
Rework logical operations with cgo. Approved by: @daviszhen, @fengttt, @ouyuanning, @nnsgmsone, @aunjgr
-
- Aug 11, 2022
-
-
fagongzi authored
fix goroutine leak in test Approved by: @lni
-
lni authored
Previously, all Log Service requests and responses carry possible data fields as not nullable, meaning they are values rather than pointers. This would require full marshal/unmarshal of them even when they are empty. Changed them to pointer types to reduce such marshal and unmarshal overheads. Approved by: @fengttt
-
fagongzi authored
If any Replica exists, a deadlock will occur when DNService starts. Approved by: @lni
-
triump2020 authored
Approved by: @XuPeng-SH, @zhangxu19830126
-
iamlinjunhong authored
-
fagongzi authored
Approved by: @lni
-
fagongzi authored
Approved by: @lni
-
lni authored
When the environmental variable GOPATH is not set, get its value from the output of the `go env GOPATH` command otherwise gen.sh will be using incorrect paths. Approved by: @yingfeng
-
lni authored
Log Service's ClientConfig and HAKeeper's HAKeeperClientConfig both have an optional DiscoveryAddress field which is the service address of a reverse proxy provided by k8s. The reverse proxy redirects requests to a random Log Service node and we use this mechanism to query Log Shard info from such random node. As such shard info is broadcasted to all Log Service nodes via gossip over time, this allows eventual discovery of the details of the interested Log Service shard. This feature is required as replicas of a Log Shard can migrate to a completely different set of nodes over time, a pre determined & fixed address list alone won't be enough to allow clients to connect to the interested Log Shard. Approved by: @aptend, @fengttt, @nnsgmsone
-