Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
chore!: replace ceresdb with test (#298)
Browse files Browse the repository at this point in the history
## Rationale
See apache/horaedb#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
  • Loading branch information
jiacai2050 authored Jan 11, 2024
1 parent 51536a1 commit 7d90190
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions server/cluster/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ import (

const (
defaultTimeout = time.Second * 20
cluster1 = "ceresdbCluster1"
defaultSchema = "ceresdbSchema"
cluster1 = "testCluster1"
defaultSchema = "testSchema"
defaultNodeCount = 2
defaultShardTotal = 8
defaultProcedureExecutingBatchSize = 100
Expand Down
2 changes: 1 addition & 1 deletion server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion server/coordinator/procedure/test/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const (
TestSchemaName = "TestSchemaName"
TestRootPath = "/rootPath"
DefaultIDAllocatorStep = 20
ClusterName = "ceresdbCluster1"
ClusterName = "testCluster1"
DefaultNodeCount = 2
DefaultShardTotal = 4
DefaultSchedulerOperator = true
Expand Down

0 comments on commit 7d90190

Please sign in to comment.