add type SFBinlogWriterStat
parent
11165cbb20
commit
3a4a7069b9
|
|
@ -39,10 +39,11 @@ typedef struct idempotency_request_result {
|
|||
typedef struct idempotency_request {
|
||||
uint64_t req_id;
|
||||
volatile int ref_count;
|
||||
bool finished;
|
||||
volatile bool finished;
|
||||
IdempotencyRequestResult output;
|
||||
struct fast_mblock_man *allocator; //for free
|
||||
struct idempotency_request *next;
|
||||
struct fast_task_info *task; //for debug
|
||||
} IdempotencyRequest;
|
||||
|
||||
typedef struct idempotency_request_htable {
|
||||
|
|
|
|||
|
|
@ -102,6 +102,13 @@ typedef struct sf_space_stat {
|
|||
int64_t used;
|
||||
} SFSpaceStat;
|
||||
|
||||
typedef struct sf_binlog_writer_stat {
|
||||
int64_t total_count;
|
||||
int64_t next_version;
|
||||
int waiting_count;
|
||||
int max_waitings;
|
||||
} SFBinlogWriterStat;
|
||||
|
||||
typedef struct sf_version_range {
|
||||
int64_t first; //including
|
||||
int64_t last; //including
|
||||
|
|
|
|||
Loading…
Reference in New Issue