Move DerbySnapshotOperation and DistributedDatabaseOperateImpl to core module.
This commit is contained in:
parent
3d4014a3d3
commit
841ce677d1
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 1999-2018 Alibaba Group Holding Ltd.
|
||||
* Copyright 1999-2023 Alibaba Group Holding Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.alibaba.nacos.config.server.service.repository.embedded;
|
||||
package com.alibaba.nacos.core.persistence;
|
||||
|
||||
import com.alibaba.nacos.common.notify.NotifyCenter;
|
||||
import com.alibaba.nacos.consistency.snapshot.LocalFileMeta;
|
||||
@ -48,6 +48,7 @@ import java.util.zip.Checksum;
|
||||
|
||||
/**
|
||||
* Derby Snapshot operation.
|
||||
* TODO depend on jraft strongly, Waiting for addition split.
|
||||
*
|
||||
* @author <a href="mailto:liaochuntao@live.com">liaochuntao</a>
|
||||
*/
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 1999-2018 Alibaba Group Holding Ltd.
|
||||
* Copyright 1999-2023 Alibaba Group Holding Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.alibaba.nacos.config.server.service.repository.embedded;
|
||||
package com.alibaba.nacos.core.persistence;
|
||||
|
||||
import com.alibaba.nacos.api.exception.NacosException;
|
||||
import com.alibaba.nacos.api.exception.runtime.NacosRuntimeException;
|
||||
@ -137,6 +137,8 @@ import java.util.stream.Collectors;
|
||||
* └───────────────────────────────────────────┘
|
||||
* </pre>
|
||||
*
|
||||
* TODO depend on Member and Cp protocol strongly, Waiting for addition split.
|
||||
*
|
||||
* @author <a href="mailto:liaochuntao@live.com">liaochuntao</a>
|
||||
*/
|
||||
@Conditional(ConditionDistributedEmbedStorage.class)
|
@ -25,7 +25,7 @@ import com.alibaba.nacos.common.notify.Event;
|
||||
import com.alibaba.nacos.common.notify.NotifyCenter;
|
||||
import com.alibaba.nacos.common.notify.listener.Subscriber;
|
||||
import com.alibaba.nacos.persistence.model.event.RaftDbErrorEvent;
|
||||
import com.alibaba.nacos.config.server.service.repository.embedded.DistributedDatabaseOperateImpl;
|
||||
import com.alibaba.nacos.core.persistence.DistributedDatabaseOperateImpl;
|
||||
import com.alibaba.nacos.consistency.ProtocolMetaData;
|
||||
import com.alibaba.nacos.consistency.cp.CPProtocol;
|
||||
import com.alibaba.nacos.consistency.cp.MetadataKey;
|
||||
|
@ -25,7 +25,7 @@ import com.alibaba.nacos.common.notify.Event;
|
||||
import com.alibaba.nacos.common.notify.NotifyCenter;
|
||||
import com.alibaba.nacos.common.notify.listener.Subscriber;
|
||||
import com.alibaba.nacos.persistence.model.event.RaftDbErrorEvent;
|
||||
import com.alibaba.nacos.config.server.service.repository.embedded.DistributedDatabaseOperateImpl;
|
||||
import com.alibaba.nacos.core.persistence.DistributedDatabaseOperateImpl;
|
||||
import com.alibaba.nacos.consistency.ProtocolMetaData;
|
||||
import com.alibaba.nacos.consistency.cp.CPProtocol;
|
||||
import com.alibaba.nacos.consistency.cp.MetadataKey;
|
||||
|
Loading…
Reference in New Issue
Block a user