From a3744f28b35f30ceb977f964d5d28d27d00683c5 Mon Sep 17 00:00:00 2001 From: Tao Liu Date: Mon, 8 Jun 2020 07:56:42 +0000 Subject: [PATCH] [TD-553] add usage stastics --- src/vnode/inc/vnodeInt.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vnode/inc/vnodeInt.h b/src/vnode/inc/vnodeInt.h index 7c95e81cf5..af7f764717 100644 --- a/src/vnode/inc/vnodeInt.h +++ b/src/vnode/inc/vnodeInt.h @@ -39,6 +39,9 @@ typedef struct { int8_t role; int64_t version; // current version int64_t fversion; // version on saved data file + int64_t totalStorage; //total bytes occupie + int64_t compStorage; + int64_t pointsWritten; //total data points written void *wqueue; void *rqueue; void *wal;