From d6507aa771cef226e879ffddaec4b9f85d758884 Mon Sep 17 00:00:00 2001 From: Matthew V Date: Wed, 15 Feb 2017 13:50:42 -0500 Subject: [PATCH] merge mv-hot-backup2 bug fix to 2.0 --- BASHO_RELEASES | 7 +++++++ db/filename.cc | 9 +++++++-- db/filename_test.cc | 6 ++++++ db/version_set.h | 2 +- leveldb_ee | 2 +- tools/sst_scan.cc | 2 +- 6 files changed, 23 insertions(+), 5 deletions(-) diff --git a/BASHO_RELEASES b/BASHO_RELEASES index acf4b31f..56726135 100644 --- a/BASHO_RELEASES +++ b/BASHO_RELEASES @@ -1,3 +1,10 @@ +github.com tag 2.0.34 - February 15, 2017 +----------------------------------------- +mv-hot-backup2: - correct MakeTieredDbname() within db/filename.cc + for case where dbname input is blank and fast/slow + already populated in options. Corrects issue + with hot backup in non-tiered storage situations + github.com tag 2.0.33 - November 21, 2016 ----------------------------------------- mv-bucket-expiry: - partial branch to enable X-Riak-Meta-Expiry-Base-Seconds diff --git a/db/filename.cc b/db/filename.cc index 483ebb8a..bb90e656 100644 --- a/db/filename.cc +++ b/db/filename.cc @@ -281,7 +281,12 @@ MakeTieredDbname( const std::string & dbname, // input ... original dbname from DBImpl constructor Options & options) // input/output ... writable Options, tiered values changed { - if (0<(int)options.tiered_slow_level && (int)options.tiered_slow_levelvalue()).c_str()); #if 0