You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2025/02/19 06:15:17 UTC
(shardingsphere) branch master updated: Add mode.node.path.reservation package (#34714)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new d664b5c9099 Add mode.node.path.reservation package (#34714)
d664b5c9099 is described below
commit d664b5c909947a58be76fefe7dc6708266fa3491
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Wed Feb 19 14:15:11 2025 +0800
Add mode.node.path.reservation package (#34714)
---
.../mode/node/path/{state => reservation}/ReservationNodePath.java | 2 +-
.../mode/node/path/{state => reservation}/ReservationNodePathTest.java | 2 +-
.../mode/manager/cluster/workerid/ReservationPersistService.java | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/state/ReservationNodePath.java b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/reservation/ReservationNodePath.java
similarity index 94%
rename from mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/state/ReservationNodePath.java
rename to mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/reservation/ReservationNodePath.java
index 6ca219384f8..445c1543b0f 100644
--- a/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/state/ReservationNodePath.java
+++ b/mode/node/src/main/java/org/apache/shardingsphere/mode/node/path/reservation/ReservationNodePath.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.shardingsphere.mode.node.path.state;
+package org.apache.shardingsphere.mode.node.path.reservation;
import org.apache.shardingsphere.mode.node.path.NodePath;
diff --git a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/state/ReservationNodePathTest.java b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/reservation/ReservationNodePathTest.java
similarity index 94%
rename from mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/state/ReservationNodePathTest.java
rename to mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/reservation/ReservationNodePathTest.java
index bb0b28ed59d..75ac97497d5 100644
--- a/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/state/ReservationNodePathTest.java
+++ b/mode/node/src/test/java/org/apache/shardingsphere/mode/node/path/reservation/ReservationNodePathTest.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.shardingsphere.mode.node.path.state;
+package org.apache.shardingsphere.mode.node.path.reservation;
import org.junit.jupiter.api.Test;
diff --git a/mode/type/cluster/core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/workerid/ReservationPersistService.java b/mode/type/cluster/core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/workerid/ReservationPersistService.java
index 671d9f37231..ceaee1f6a1e 100644
--- a/mode/type/cluster/core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/workerid/ReservationPersistService.java
+++ b/mode/type/cluster/core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/workerid/ReservationPersistService.java
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.mode.manager.cluster.workerid;
import lombok.RequiredArgsConstructor;
import org.apache.shardingsphere.mode.node.path.NodePathGenerator;
-import org.apache.shardingsphere.mode.node.path.state.ReservationNodePath;
+import org.apache.shardingsphere.mode.node.path.reservation.ReservationNodePath;
import org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository;
import org.apache.shardingsphere.mode.repository.cluster.exception.ClusterRepositoryPersistException;