diff options
| author | zhangchengwei <[email protected]> | 2018-12-15 21:19:20 +0800 |
|---|---|---|
| committer | zhengchao <[email protected]> | 2018-12-21 11:09:33 +0600 |
| commit | c801523de9c5ae244fc5182a63e4266a8f2482ac (patch) | |
| tree | 03dfc5bd78769172a491ee49c50cd58216ad6c84 | |
| parent | a70aa35a3a6d24ec415527ce2ad52e7fc80c4c79 (diff) | |
hiredis-vip-0.3.0.zip编译修正
| -rw-r--r-- | cache/include/object_store_client.h | 2 | ||||
| -rw-r--r-- | cache/src/object_store_client.cpp | 4 | ||||
| -rw-r--r-- | vendor/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | vendor/hiredis-vip-0.3.0.zip | bin | 118990 -> 118991 bytes |
4 files changed, 4 insertions, 4 deletions
diff --git a/cache/include/object_store_client.h b/cache/include/object_store_client.h index e7d72bc..351bb83 100644 --- a/cache/include/object_store_client.h +++ b/cache/include/object_store_client.h @@ -29,7 +29,7 @@ int object_store_head_object(struct object_store_instance *instance, struct futu struct tango_cache_result *object_store_read_result(void *promise_result); //DELETE�ӿ� -int object_store_delete_object(struct object_store_instance *instance, struct future* f, const char *objkey); +int object_store_delete_object(struct object_store_instance *instance, struct future* f, const char *objkey, const char *minio_addr=NULL, const char *bucket=NULL); //һ�����ϴ��ӿ� int object_store_upload_once_data(struct object_store_instance *instance, struct future* f, diff --git a/cache/src/object_store_client.cpp b/cache/src/object_store_client.cpp index bd2ecd9..58eb3fb 100644 --- a/cache/src/object_store_client.cpp +++ b/cache/src/object_store_client.cpp @@ -104,9 +104,9 @@ int object_store_head_object(struct object_store_instance *instance, struct futu return cache_evbase_head_object(instance->instances[rand()%instance->instance_num], f, meta); } -int object_store_delete_object(struct object_store_instance *instance, struct future* f, const char *objkey) +int object_store_delete_object(struct object_store_instance *instance, struct future* f, const char *objkey, const char *minio_addr, const char *bucket) { - return cache_evbase_delete_object(instance->instances[rand()%instance->instance_num], f, objkey); + return cache_evbase_delete_object(instance->instances[rand()%instance->instance_num], f, objkey, minio_addr, bucket); } struct object_store_instance *object_store_instance_new(const char* profile_path, const char* section, int thread_num, void *runtimelog) diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt index b3f07a5..9f3aa3e 100644 --- a/vendor/CMakeLists.txt +++ b/vendor/CMakeLists.txt @@ -251,7 +251,7 @@ set_property(TARGET libcurl-static PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${INST ### hiredis ExternalProject_Add(hiredisCluster PREFIX hiredisCluster URL ${CMAKE_CURRENT_SOURCE_DIR}/hiredis-vip-0.3.0.zip - URL_MD5 950ccc040a705ebe6c6b1854a744ae2d + URL_MD5 8d0636f911d4a4a6ec8aeff2abb5bc0f CONFIGURE_COMMAND "" BUILD_COMMAND make INSTALL_COMMAND make install diff --git a/vendor/hiredis-vip-0.3.0.zip b/vendor/hiredis-vip-0.3.0.zip Binary files differindex e99c1c6..c3212ff 100644 --- a/vendor/hiredis-vip-0.3.0.zip +++ b/vendor/hiredis-vip-0.3.0.zip |
