This is an automated email from the ASF dual-hosted git repository.
coolfrog pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-horaedb-meta.git
The following commit(s) were added to refs/heads/main by this push:
new 7d90190 chore!: replace ceresdb with test (#298)
7d90190 is described below
commit 7d9019087cd2d1fa12539e7b448846bc9124db74
Author: Jiacai Liu <[email protected]>
AuthorDate: Thu Jan 11 15:51:27 2024 +0800
chore!: replace ceresdb with test (#298)
## Rationale
See https://github.com/apache/incubator-horaedb/issues/1319
## Detailed Changes
This is a breaking change. users need to add following config to keep
back-compatitble
```
storage-root-path = "/ceresdb"
```
Or set via env vars
```
export STORAGE_ROOT_PATH="/ceresdb"
```
## Test Plan
No need
---
server/cluster/manager_test.go | 4 ++--
server/config/config.go | 2 +-
server/coordinator/procedure/test/common.go | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/server/cluster/manager_test.go b/server/cluster/manager_test.go
index 069d34f..779e1ca 100644
--- a/server/cluster/manager_test.go
+++ b/server/cluster/manager_test.go
@@ -37,8 +37,8 @@ import (
const (
defaultTimeout = time.Second * 20
- cluster1 = "ceresdbCluster1"
- defaultSchema = "ceresdbSchema"
+ cluster1 = "testCluster1"
+ defaultSchema = "testSchema"
defaultNodeCount = 2
defaultShardTotal = 8
defaultProcedureExecutingBatchSize = 100
diff --git a/server/config/config.go b/server/config/config.go
index 02ee266..91556dc 100644
--- a/server/config/config.go
+++ b/server/config/config.go
@@ -59,7 +59,7 @@ const (
defaultNodeNamePrefix = "horaemeta"
defaultEndpoint = "127.0.0.1"
- defaultRootPath = "/ceresdb"
+ defaultRootPath = "/horaedb"
defaultClientUrls = "http://0.0.0.0:2379"
defaultPeerUrls = "http://0.0.0.0:2380"
defaultInitialClusterState = embed.ClusterStateFlagNew
diff --git a/server/coordinator/procedure/test/common.go
b/server/coordinator/procedure/test/common.go
index 63eae55..7550601 100644
--- a/server/coordinator/procedure/test/common.go
+++ b/server/coordinator/procedure/test/common.go
@@ -46,7 +46,7 @@ const (
TestSchemaName = "TestSchemaName"
TestRootPath = "/rootPath"
DefaultIDAllocatorStep = 20
- ClusterName = "ceresdbCluster1"
+ ClusterName = "testCluster1"
DefaultNodeCount = 2
DefaultShardTotal = 4
DefaultSchedulerOperator = true
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]