Skip to content

Commit

Permalink
Merge branch 'next'
Browse files Browse the repository at this point in the history
Conflicts:
	debian/ceph.prerm
  • Loading branch information
Sage Weil committed May 21, 2013
2 parents 150e170 + 1c7b9c3 commit bbcbab4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions debian/ceph.prerm
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ invoke-rc.d ceph-all stop || {
fi
}

invoke-rc.d ceph stop || {
RESULT=$?
if [ $RESULT != 100 ]; then
exit $RESULT
fi
}

#DEBHELPER#

exit 0
5 changes: 3 additions & 2 deletions src/os/LevelDBStore.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@ int LevelDBStore::init(ostream &out, bool create_if_missing)
assert(0 == "bloom size set but installed leveldb doesn't support bloom filters");
#endif
}
if (!options.compression_enabled)
if (options.compression_enabled)
ldoptions.compression = leveldb::kSnappyCompression;
else
ldoptions.compression = leveldb::kNoCompression;
if (options.block_restart_interval)
ldoptions.block_restart_interval = options.block_restart_interval;

ldoptions.error_if_exists = options.error_if_exists;
ldoptions.paranoid_checks = options.paranoid_checks;
ldoptions.compression = leveldb::kNoCompression;
ldoptions.create_if_missing = create_if_missing;

if (options.log_file.length()) {
Expand Down

0 comments on commit bbcbab4

Please sign in to comment.