This commit is contained in:
Hongze Cheng 2021-11-09 16:27:11 +08:00
parent 21110e4a6f
commit 556a46f960
1 changed files with 23 additions and 1 deletions

View File

@ -46,8 +46,30 @@ void vnodeOptionsClear(SVnodeOptions *);
/* ------------------------ STRUCT DEFINITIONS ------------------------ */
struct SVnodeOptions {
size_t wsize;
/**
* @brief write buffer size in BYTES
*/
uint64_t wsize;
/**
* @brief time to live of tables in this vnode
* in SECONDS
*/
uint32_t ttl;
/**
* @brief if time-series requests eventual consistency
*/
bool isWeak;
/**
* @brief TSDB options
*/
STsdbOptions tsdbOptions;
/**
* @brief META operations
*/
SMetaOptions metaOptions;
// STqOptions tqOptions; // TODO
};