]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove dependencies on cls_statelog
authorCasey Bodley <cbodley@redhat.com>
Wed, 12 Sep 2018 13:21:28 +0000 (09:21 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 19 Sep 2018 14:32:55 +0000 (10:32 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/CMakeLists.txt
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h
src/test/rgw/CMakeLists.txt

index 0e5d9199266fa846db35ebd5a3a2a95b31512bad..d4e6100b01034511a138d8f781323a9a8fa91663 100644 (file)
@@ -161,7 +161,7 @@ add_dependencies(rgw_a civetweb_h)
 target_include_directories(rgw_a SYSTEM PUBLIC "../rapidjson/include")
 
 target_link_libraries(rgw_a librados cls_otp_client cls_lock_client cls_rgw_client cls_refcount_client
-  cls_log_client cls_statelog_client cls_timeindex_client cls_version_client
+  cls_log_client cls_timeindex_client cls_version_client
   cls_user_client ceph-common common_utf8 global
   ${CURL_LIBRARIES}
   ${EXPAT_LIBRARIES}
@@ -200,14 +200,14 @@ target_link_libraries(radosgw_a rgw_a ${SSL_LIBRARIES})
 add_executable(radosgw rgw_main.cc)
 target_link_libraries(radosgw radosgw_a librados
   cls_rgw_client cls_otp_client cls_lock_client cls_refcount_client
-  cls_log_client cls_statelog_client cls_timeindex_client
+  cls_log_client cls_timeindex_client
   cls_version_client cls_user_client
   global ${FCGI_LIBRARY} ${LIB_RESOLV}
   ${CURL_LIBRARIES} ${EXPAT_LIBRARIES} ${BLKID_LIBRARIES}
   ${ALLOC_LIBS})
 # radosgw depends on cls libraries at runtime, but not as link dependencies
 add_dependencies(radosgw cls_rgw cls_lock cls_refcount
-  cls_log cls_statelog cls_timeindex
+  cls_log cls_timeindex
   cls_version cls_user cls_otp)
 install(TARGETS radosgw DESTINATION bin)
 
@@ -217,7 +217,7 @@ set(radosgw_admin_srcs
 add_executable(radosgw-admin ${radosgw_admin_srcs})
 target_link_libraries(radosgw-admin rgw_a librados
   cls_rgw_client cls_otp_client cls_lock_client cls_refcount_client
-  cls_log_client cls_statelog_client cls_timeindex_client
+  cls_log_client cls_timeindex_client
   cls_version_client cls_user_client
   global ${FCGI_LIBRARY} ${LIB_RESOLV}
   ${CURL_LIBRARIES} ${EXPAT_LIBRARIES} ${SSL_LIBRARIES} ${BLKID_LIBRARIES})
@@ -228,7 +228,7 @@ set(radosgw_es_srcs
 add_executable(radosgw-es ${radosgw_es_srcs})
 target_link_libraries(radosgw-es rgw_a librados
   cls_rgw_client cls_otp_client cls_lock_client cls_refcount_client
-  cls_log_client cls_statelog_client cls_timeindex_client
+  cls_log_client cls_timeindex_client
   cls_version_client cls_user_client
   global ${FCGI_LIBRARY} ${LIB_RESOLV}
   ${CURL_LIBRARIES} ${EXPAT_LIBRARIES} ${SSL_LIBRARIES} ${BLKID_LIBRARIES})
@@ -246,7 +246,7 @@ set(radosgw_object_expirer_srcs
 add_executable(radosgw-object-expirer ${radosgw_object_expirer_srcs})
 target_link_libraries(radosgw-object-expirer rgw_a librados
   cls_rgw_client cls_otp_client cls_lock_client cls_refcount_client
-  cls_log_client cls_statelog_client cls_timeindex_client
+  cls_log_client cls_timeindex_client
   cls_version_client cls_user_client
   global ${FCGI_LIBRARY} ${LIB_RESOLV}
   ${CURL_LIBRARIES} ${EXPAT_LIBRARIES})
@@ -264,7 +264,6 @@ target_link_libraries(rgw PRIVATE
   cls_lock_client
   cls_refcount_client
   cls_log_client
-  cls_statelog_client
   cls_timeindex_client
   cls_version_client
   cls_user_client
@@ -293,7 +292,6 @@ target_link_libraries(rgw_admin_user PRIVATE
   cls_lock_client
   cls_refcount_client
   cls_log_client
-  cls_statelog_client
   cls_timeindex_client
   cls_version_client
   cls_user_client
index ee10dc526db642755fdd86e67dbf1dd2da5d233d..4b38d3ebcf553c0abf9fcaea9798c12c1d2f067b 100644 (file)
@@ -35,7 +35,6 @@
 #include "cls/refcount/cls_refcount_client.h"
 #include "cls/version/cls_version_client.h"
 #include "cls/log/cls_log_client.h"
-#include "cls/statelog/cls_statelog_client.h"
 #include "cls/timeindex/cls_timeindex_client.h"
 #include "cls/lock/cls_lock_client.h"
 #include "cls/user/cls_user_client.h"
@@ -120,8 +119,6 @@ static string RGW_DEFAULT_ZONEGROUP_ROOT_POOL = "rgw.root";
 static string RGW_DEFAULT_REALM_ROOT_POOL = "rgw.root";
 static string RGW_DEFAULT_PERIOD_ROOT_POOL = "rgw.root";
 
-#define RGW_STATELOG_OBJ_PREFIX "statelog."
-
 #define dout_subsys ceph_subsys_rgw
 
 
index 648dec6a3d8fe27a29caf3178b0ec4802c6926ae..28618413ff7017451a530f914092d33165e233ae 100644 (file)
@@ -18,7 +18,6 @@
 #include "cls/rgw/cls_rgw_types.h"
 #include "cls/version/cls_version_types.h"
 #include "cls/log/cls_log_types.h"
-#include "cls/statelog/cls_statelog_types.h"
 #include "cls/timeindex/cls_timeindex_types.h"
 #include "cls/otp/cls_otp_types.h"
 #include "rgw_log.h"
index b050b4c7b83373850288ebe8bd1093053df31579..6ba12e3177df02dd6f76abc27a3db46539d43f1e 100644 (file)
@@ -36,7 +36,6 @@ target_link_libraries(ceph_test_rgw_manifest
   cls_lock_client
   cls_refcount_client
   cls_log_client
-  cls_statelog_client
   cls_timeindex_client
   cls_version_client
   cls_user_client
@@ -60,7 +59,6 @@ target_link_libraries(ceph_test_rgw_obj
   cls_lock_client
   cls_refcount_client
   cls_log_client
-  cls_statelog_client
   cls_version_client
   cls_user_client
   librados
@@ -83,7 +81,6 @@ target_link_libraries(unittest_rgw_crypto
   cls_lock_client
   cls_refcount_client
   cls_log_client
-  cls_statelog_client
   cls_version_client
   cls_user_client
   librados
@@ -103,7 +100,6 @@ target_link_libraries(unittest_rgw_iam_policy
   cls_lock_client
   cls_refcount_client
   cls_log_client
-  cls_statelog_client
   cls_version_client
   cls_user_client
   librados