You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kp...@apache.org on 2018/06/20 15:31:08 UTC
qpid-cpp git commit: QPID-8211: Placed a deprecation notice into the
cmake script,
also into the log file at warning level when the store is intialized on broker
startup.
Repository: qpid-cpp
Updated Branches:
refs/heads/master ccacb5c7e -> 91ed1489d
QPID-8211: Placed a deprecation notice into the cmake script, also into the log file at warning level when the store is intialized on broker startup.
Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/91ed1489
Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/91ed1489
Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/91ed1489
Branch: refs/heads/master
Commit: 91ed1489de7ab74d99f9d7198b90583454e96c5e
Parents: ccacb5c
Author: Kim van der Riet <kv...@localhost.localdomain>
Authored: Wed Jun 20 11:26:54 2018 -0400
Committer: Kim van der Riet <kv...@localhost.localdomain>
Committed: Wed Jun 20 11:26:54 2018 -0400
----------------------------------------------------------------------
src/legacystore.cmake | 5 +++++
src/qpid/legacystore/MessageStoreImpl.cpp | 1 +
2 files changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/91ed1489/src/legacystore.cmake
----------------------------------------------------------------------
diff --git a/src/legacystore.cmake b/src/legacystore.cmake
index f77eed9..28856cb 100644
--- a/src/legacystore.cmake
+++ b/src/legacystore.cmake
@@ -58,6 +58,11 @@ endif (DEFINED legacystore_force)
option(BUILD_LEGACYSTORE "Build legacystore persistent store" ${legacystore_default})
if (BUILD_LEGACYSTORE)
+ message(DEPRECATION "\n\
+**************************************************************************\n\
+DEPRECATION NOTICE: Legacystore is deprecated, and will be removed at some time in the near \
+future. Please use linearstore instead. \n\
+**************************************************************************\n")
if (NOT UNIX)
message(FATAL_ERROR "Legacystore produced only on Unix platforms")
endif (NOT UNIX)
http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/91ed1489/src/qpid/legacystore/MessageStoreImpl.cpp
----------------------------------------------------------------------
diff --git a/src/qpid/legacystore/MessageStoreImpl.cpp b/src/qpid/legacystore/MessageStoreImpl.cpp
index 7a1fea9..7186e2f 100644
--- a/src/qpid/legacystore/MessageStoreImpl.cpp
+++ b/src/qpid/legacystore/MessageStoreImpl.cpp
@@ -279,6 +279,7 @@ bool MessageStoreImpl::init(const std::string& dir,
else
init();
+ QPID_LOG(warning, "DEPRECATION NOTICE: Legacystore is deprecated, and may be removed in the near future. Please use Linearstore instead.");
QPID_LOG(notice, "Store module initialized; store-dir=" << dir);
QPID_LOG(info, "> Default files per journal: " << jfiles);
// TODO: Uncomment these lines when auto-expand is enabled.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org