Skip to content

Commit

Permalink
Fix SstFileManager uninitialized data member
Browse files Browse the repository at this point in the history
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
  • Loading branch information
IslamAbdelRahman committed Feb 18, 2016
1 parent a3db93c commit 6b2a047
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/sst_file_manager_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ SstFileManagerImpl::SstFileManagerImpl(Env* env, std::shared_ptr<Logger> 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) {}

Expand Down

0 comments on commit 6b2a047

Please sign in to comment.