From 384ce2ba53760b2b2ed7eed82110f5b6c626d1e3 Mon Sep 17 00:00:00 2001 From: jiangminsen Date: Tue, 16 Jan 2024 17:16:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=B8=83=E5=BC=8Fdb=E8=A7=84=E5=88=99?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiangminsen --- services/dbms/sa_profile/402.json | 2 +- services/dbms/src/distributed_data_storage.cpp | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/services/dbms/sa_profile/402.json b/services/dbms/sa_profile/402.json index 8204523..08d765d 100644 --- a/services/dbms/sa_profile/402.json +++ b/services/dbms/sa_profile/402.json @@ -11,7 +11,7 @@ "deviceonline": [ { "name": "deviceonline", - "value": "ready" + "value": "on" } ] }, diff --git a/services/dbms/src/distributed_data_storage.cpp b/services/dbms/src/distributed_data_storage.cpp index 605cfcf..15f8e93 100644 --- a/services/dbms/src/distributed_data_storage.cpp +++ b/services/dbms/src/distributed_data_storage.cpp @@ -279,10 +279,6 @@ Status DistributedDataStorage::GetKvStore() SyncPolicy syncPolicyOnline { .type = PolicyType::IMMEDIATE_SYNC_ON_ONLINE }; - SyncPolicy syncPolicyOnReady { - .type = PolicyType::IMMEDIATE_SYNC_ON_READY - }; - options.policies.emplace_back(syncPolicyOnReady); options.policies.emplace_back(syncPolicyOnline); Status status = dataManager_.GetSingleKvStore(options, appId_, storeId_, kvStorePtr_); if (status != Status::SUCCESS) { -- Gitee