diff --git a/db/db_impl/db_impl_open.cc b/db/db_impl/db_impl_open.cc index 6616739c9..391610e96 100644 --- a/db/db_impl/db_impl_open.cc +++ b/db/db_impl/db_impl_open.cc @@ -80,13 +80,16 @@ DBOptions SanitizeOptions(const std::string& dbname, const DBOptions& src, result.env->IncBackgroundThreadsIfNeeded(bg_job_limits.max_flushes, Env::Priority::HIGH); - result.bytes_per_sync = 0; + // TODO: explain why spdb doesnt use rate_limiter + result.rate_limiter.reset(); +// as part of SPDB-516 +#if 0 if (result.rate_limiter.get() != nullptr) { - result.rate_limiter.reset(); if (result.bytes_per_sync == 0) { - result.bytes_per_sync = 1024 * 8; + result.bytes_per_sync = 1024 * 1024; } } +#endif if (result.delayed_write_rate == 0) { if (result.rate_limiter.get() != nullptr) { diff --git a/speedb/version.h b/speedb/version.h index ad038e33b..9224f8cca 100644 --- a/speedb/version.h +++ b/speedb/version.h @@ -2,7 +2,7 @@ #define SPEEDB_MAJOR 1 #define SPEEDB_MINOR 5 -#define SPEEDB_PATCH 22 +#define SPEEDB_PATCH 23 namespace ROCKSDB_NAMESPACE { // Returns the current version of SpeeDB as a string (e.g. "1.5.0").