已有数据同步功能完成
This commit is contained in:
@@ -2,15 +2,16 @@
|
||||
#define __KVS_DUMP_H__
|
||||
|
||||
#include "kvstore.h"
|
||||
#include "diskuring/diskuring.h"
|
||||
|
||||
extern char global_oplog_file[256];
|
||||
extern char global_array_file[256];
|
||||
extern char global_rbtree_file[256];
|
||||
extern char global_hash_file[256];
|
||||
|
||||
int kvs_create_snapshot(const char* array_file, const char* rbtree_file, const char* hash_file);
|
||||
int kvs_create_snapshot(iouring_ctx_t *uring, const char* array_file, const char* rbtree_file, const char* hash_file);
|
||||
int kvs_create_snapshot_async(const char *ip, int port);
|
||||
void __create_snapshot_ok(const char* array_file, const char* rbtree_file, const char* hash_file);
|
||||
void __complete_snapshot(const char *ip, int port, const char *array_file, const char *rbtree_file, const char *hash_file);
|
||||
|
||||
extern int global_oplog_fd;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user