mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 09:58:50 +08:00
Azure backup cleanup
This commit is contained in:
parent
e389a5dabe
commit
195ca30a20
@ -27,7 +27,7 @@ namespace {
|
|||||||
class TerminateTask final : public IAsyncTask {
|
class TerminateTask final : public IAsyncTask {
|
||||||
public:
|
public:
|
||||||
void operator()() override { ASSERT(false); }
|
void operator()() override { ASSERT(false); }
|
||||||
bool isTerminate() const { return true; }
|
bool isTerminate() const override { return true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
ACTOR Future<Void> asyncTaskThreadClient(AsyncTaskThread* asyncTaskThread, int* sum, int count) {
|
ACTOR Future<Void> asyncTaskThreadClient(AsyncTaskThread* asyncTaskThread, int* sum, int count) {
|
||||||
@ -56,8 +56,6 @@ AsyncTaskThread::~AsyncTaskThread() {
|
|||||||
if (wakeUp) {
|
if (wakeUp) {
|
||||||
cv.notify_one();
|
cv.notify_one();
|
||||||
}
|
}
|
||||||
// Warning: This destructor can hang if a task hangs, so it is
|
|
||||||
// up to the caller to prevent tasks from hanging indefinitely
|
|
||||||
thread.join();
|
thread.join();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ endif()
|
|||||||
add_flow_target(STATIC_LIBRARY NAME fdbclient SRCS ${FDBCLIENT_SRCS} ADDL_SRCS ${options_srcs})
|
add_flow_target(STATIC_LIBRARY NAME fdbclient SRCS ${FDBCLIENT_SRCS} ADDL_SRCS ${options_srcs})
|
||||||
add_dependencies(fdbclient fdboptions)
|
add_dependencies(fdbclient fdboptions)
|
||||||
if(BUILD_AZURE_BACKUP)
|
if(BUILD_AZURE_BACKUP)
|
||||||
target_link_libraries(fdbclient PUBLIC fdbrpc curl uuid azure-storage-lite)
|
target_link_libraries(fdbclient PUBLIC fdbrpc PRIVATE curl uuid azure-storage-lite)
|
||||||
else()
|
else()
|
||||||
target_link_libraries(fdbclient PUBLIC fdbrpc)
|
target_link_libraries(fdbclient PUBLIC fdbrpc)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user