- Aug 11, 2022
-
-
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
-
fagongzi authored
Approved by: @sukki37, @nnsgmsone, @yingfeng
-
maomao authored
Approved by: @fengttt
-
daviszhen authored
Prepare the structure for the multi-tenant Approved by: @iamlinjunhong, @yingfeng, @zhangxu19830126
-
mklzl authored
Approved by: @dengn
-
maomao authored
Approved by: @lni, @zhangxu19830126, @matrix-meow
-
- Aug 10, 2022
-
-
triump2020 authored
Approved by: @XuPeng-SH
-
brown authored
Move ut_pr.yml to .github/workflow Approved by: @sukki37
-
brown authored
add file `ut_pr.yml` to support pull request additional unit test coverage Approved by: @sukki37
-
iamlinjunhong authored
Approved by: @aressu1985, @nnsgmsone, @aunjgr
-
qingxinhome authored
Using CGO to reconstruct the comparison operation Approved by: @daviszhen, @ouyuanning, @fengttt, @nnsgmsone, @aunjgr
-
nnsgmsone authored
* CI: add PR UT coverage (#4371) Create a new yml file to support detect incremental code coverage Approved by: @sukki37 * Add union and minus * Update ut_pr.yml * Update ut_pr.yml (#4439) * Delete ut_pr.yml * Fix sca * Adding a strategy choice for group by Co-authored-by:
brown <1173781832@qq.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by:
maomao <77312370+sukki37@users.noreply.github.com> Co-authored-by:
Yingfeng <yingfeng.zhang@gmail.com>
-
- Aug 09, 2022
-
-
lni authored
* use constant connection timeout value which is much smaller than the LOG node heartbeat timeout. this ensures we get chance to try most specified HAKeeper nodes. * during bootstrap, it is possible for the HAKeeper replica to be removed by a KILL command, terminate the local bootstrap procedure when that happens. * always keep the ticker worker even after the HAKeeper replica is stopped. Approved by: @reusee
-
jiangxinmeng1 authored
Fix onReplayAppendCmd. Check whether there exists active block before load data. Approved by: @XuPeng-SH
-
GuokeCui authored
- Evaluate health of a log shard via its running replicas, not via its expired replica. Approved by: @lni
-
nnsgmsone authored
Fix the bug of ssb Approved by: @yingfeng
-
lni authored
When dns names are used in the GossipSeedAddresses field of logservice.Config, mo-service will try to resolve them and pass them to the logservice as a slice of strings in ip:port format. Only IPv4 addresses are kept and ErrInvalidConfig is returned if any dns name is mapped to more than one IPv4 address. Approved by: @reusee
-
nnsgmsone authored
Approved by: @yingfeng
-
lni authored
Shuffle address list before use to make sure we don't always waste all allocated timeout on the first few dead nodes. Approved by: @reusee
-
iamlinjunhong authored
Approved by: @aressu1985
-
Yingfeng authored
-
lni authored
1. upgraded golangci-lint to v1.48.0 which comes with go1.19 support 2. updated CI env to use go1.19 3. applied go1.19's updated `gofmt -s` to MO's codebase Approved by: @fengttt
-
- Aug 08, 2022
-
-
GuokeCui authored
Implement interface `ClusterState` for test framework. NB: Skip `TestClusterState` temporarily. Approved by: @lni
-
reusee authored
fileservice: replace Pinned with RC Approved by: @XuPeng-SH
-
fengttt authored
Approved by: @daviszhen
-
prinz authored
updateb docs:subqueries/update/delete/data_types/faq_theme/glossary/interval/install_standalone link/ (#4328) Approved by: @dengn
-
daviszhen authored
The grammar of the create/drop/grant/revoke role for the tenant is different the one in mysql. So, I changed it. Approved by: @yingfeng
-
fengttt authored
A falut injection tool. See fault_test.go for how to use it in code, and fault.sql for how to call that in sql. We will need to sprinkle the triggering of fault in our code. Approved by: @daviszhen
-
- Aug 06, 2022
-
-
GuokeCui authored
Approved by: @lni
-
reusee authored
fileservice: add CachingFileService; implement CachingFileService for S3FS fileservice: add MemCache fileservice: add testCachingFileService fileservice: implement CachingFileService for LocalFS Approved by: @lni
-
daviszhen authored
The grammar of the create/alter/drop user for the tenant is different the one in mysql. So, I changed it. Approved by: @yingfeng
-
lni authored
Config the CI workflow to build mo-service for each PR. Approved by: @fengttt, @sukki37
-
- Aug 05, 2022
-
-
reusee authored
fileservice: add value pinning in LRU Approved by: @XuPeng-SH
-