Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Commit 307e769

Browse files
authored
chore: rename package name (#74)
* rename package
1 parent d4f86e1 commit 307e769

File tree

204 files changed

+631
-1055
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+631
-1055
lines changed

docs/limit_policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ newLimit = gradient * currentLimit + queueSize;
4747
newLimit = currentLimit * (1 - smoothing) + newLimit * smoothing
4848
```
4949

50-
- The default adaptive current limiting algorithm is `Gradient`,you can set in configuration `io.ceresdb.rpc.RpcOptions.limitKind = Vegas` by `Vegas`, or set `io.ceresdb.rpc.RpcOptions.limitKind = None` to close
51-
- It will fail quickly when the limit is reached by default, and it can also be set by setting `io.ceresdb.rpc.RpcOptions.blockOnLimit = true`
50+
- The default adaptive current limiting algorithm is `Gradient`,you can set in configuration `org.apache.horaedb.rpc.RpcOptions.limitKind = Vegas` by `Vegas`, or set `org.apache.horaedb.rpc.RpcOptions.limitKind = None` to close
51+
- It will fail quickly when the limit is reached by default, and it can also be set by setting `org.apache.horaedb.rpc.RpcOptions.blockOnLimit = true`
5252
- Write and read requests share this current limiter. By default, 70% and 30% of the access permissions can be obtained for write and read respectively. You can use the startup parameters `-DCeresDB.rpc.write.limit_percent=xxx`,readLimitPercent is `1 - writeLimitPercent`

docs/metrics_and_display.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ routeCache.size=1
583583
--- GrpcClient ---
584584
started=true
585585
opts=RpcOptions{defaultRpcTimeout=10000, rpcThreadPoolSize=0, rpcThreadPoolQueueSize=16, maxInboundMessageSize=67108864, flowControlWindow=67108864, idleTimeoutSeconds=300, keepAliveTimeSeconds=3, keepAliveTimeoutSeconds=3, keepAliveWithoutCalls=true, openVegasLimiter=true, vegasInitialLimit=50, blockOnLimit=false}
586-
connectionObservers=[io.ceresdb.HoraeDBClient$RpcConnectionObserver@465f5824]
586+
connectionObservers=[org.apache.horaedb.HoraeDBClient$RpcConnectionObserver@465f5824]
587587
asyncPool=DirectExecutor{name='grpc_executor'}
588588
interceptors=[io.ceresdb.rpc.interceptors.MetricInterceptor@62b47ad1, io.ceresdb.rpc.interceptors.ClientRequestLimitInterceptor@77533e32, io.ceresdb.rpc.interceptors.ContextToHeadersInterceptor@1a52427d]
589589
managedChannelPool={127.0.0.1:8831=ManagedChannelOrphanWrapper{delegate=ManagedChannelImpl{logId=1, target=127.0.0.1:8831}}}

horaedb-all/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
55
<artifactId>horaedb-client</artifactId>
6-
<groupId>io.ceresdb</groupId>
6+
<groupId>org.apache.horaedb</groupId>
77
<version>${revision}</version>
88
</parent>
99

horaedb-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
55
<artifactId>horaedb-client</artifactId>
6-
<groupId>io.ceresdb</groupId>
6+
<groupId>org.apache.horaedb</groupId>
77
<version>${revision}</version>
88
</parent>
99

horaedb-common/src/main/.DS_Store

6 KB
Binary file not shown.
6 KB
Binary file not shown.

horaedb-common/src/main/java/io/ceresdb/common/Copiable.java renamed to horaedb-common/src/main/java/org/apache/horaedb/common/Copiable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright 2023 CeresDB Project Authors. Licensed under Apache-2.0.
33
*/
4-
package io.ceresdb.common;
4+
package org.apache.horaedb.common;
55

66
/**
77
* Copiable mark interface.

horaedb-common/src/main/java/io/ceresdb/common/Display.java renamed to horaedb-common/src/main/java/org/apache/horaedb/common/Display.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright 2023 CeresDB Project Authors. Licensed under Apache-2.0.
33
*/
4-
package io.ceresdb.common;
4+
package org.apache.horaedb.common;
55

66
import java.io.PrintWriter;
77

horaedb-common/src/main/java/io/ceresdb/common/Endpoint.java renamed to horaedb-common/src/main/java/org/apache/horaedb/common/Endpoint.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
22
* Copyright 2023 CeresDB Project Authors. Licensed under Apache-2.0.
33
*/
4-
package io.ceresdb.common;
4+
package org.apache.horaedb.common;
55

66
import java.io.Serializable;
77

8-
import io.ceresdb.common.util.Strings;
8+
import org.apache.horaedb.common.util.Strings;
99

1010
/**
1111
* A IP address with port.

horaedb-common/src/main/java/io/ceresdb/common/InFlightLimiter.java renamed to horaedb-common/src/main/java/org/apache/horaedb/common/InFlightLimiter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*
22
* Copyright 2023 CeresDB Project Authors. Licensed under Apache-2.0.
33
*/
4-
package io.ceresdb.common;
4+
package org.apache.horaedb.common;
55

66
import java.util.concurrent.Semaphore;
77
import java.util.concurrent.TimeUnit;
88

9-
import io.ceresdb.common.util.Clock;
10-
import io.ceresdb.common.util.MetricsUtil;
11-
import io.ceresdb.common.util.internal.ThrowUtil;
9+
import org.apache.horaedb.common.util.Clock;
10+
import org.apache.horaedb.common.util.MetricsUtil;
11+
import org.apache.horaedb.common.util.internal.ThrowUtil;
1212

1313
import com.codahale.metrics.Timer;
1414

0 commit comments

Comments
 (0)