[FIX] Initialized the missed dumper structure of default engine.
@@ -1545,9 +1545,6 @@ create_instance(uint64_t interface, GET_SERVER_API get_server_api,
.lock = PTHREAD_MUTEX_INITIALIZER
},
.cache_lock = PTHREAD_MUTEX_INITIALIZER,
- .stats = {
- .lock = PTHREAD_MUTEX_INITIALIZER,
- },
.config = {
.use_cas = true,
.verbose = 0,
@@ -1567,11 +1564,18 @@ create_instance(uint64_t interface, GET_SERVER_API get_server_api,
.max_btree_size = 50000,
.prefix_delimiter = ':',
},
+ .stats = {
+ .lock = PTHREAD_MUTEX_INITIALIZER,
+ },
.scrubber = {
.lock = PTHREAD_MUTEX_INITIALIZER,
.enabled = true,
.running = false,
},
+ .dumper = {
+ .lock = PTHREAD_MUTEX_INITIALIZER,
+ .running = false,
+ },
.info.engine_info = {
.description = "Default engine v0.1",
.num_features = 1,
