From 6b2a047dfcc290bbb79659a67e3180c1ace0669d Mon Sep 17 00:00:00 2001 From: Islam AbdelRahman Date: Thu, 18 Feb 2016 11:25:19 -0800 Subject: [PATCH] Fix SstFileManager uninitialized data member Summary: I have introduced max_allowed_space_ but did not initialize it Test Plan: make check Reviewers: sdong, yhchiang, anthony Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D54357 --- util/sst_file_manager_impl.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/util/sst_file_manager_impl.cc b/util/sst_file_manager_impl.cc index 8a29f1fec..bbf240cad 100644 --- a/util/sst_file_manager_impl.cc +++ b/util/sst_file_manager_impl.cc @@ -20,6 +20,7 @@ SstFileManagerImpl::SstFileManagerImpl(Env* env, std::shared_ptr logger, : env_(env), logger_(logger), total_files_size_(0), + max_allowed_space_(0), delete_scheduler_(env, trash_dir, rate_bytes_per_sec, logger.get(), this) {}