mirror of
https://github.com/facebook/rocksdb.git
synced 2026-11-07 11:32:34 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba02251a7c | ||
|
|
628a7fd74b | ||
|
|
fa1c26dc0c | ||
|
|
f9fc8c627e |
No files matched your search
@@ -1,5 +1,10 @@
|
||||
# Rocksdb Change Log
|
||||
|
||||
## 6.0.2 (4/23/2019)
|
||||
## Bug Fixes
|
||||
* Fix build failures due to missing JEMALLOC_CXX_THROW macro (#5053)
|
||||
* Fix compilation on db_bench_tool.cc on Windows (#5227)
|
||||
|
||||
## 6.0.1 (3/26/2019)
|
||||
### New Features
|
||||
### Public API Change
|
||||
@@ -9,6 +14,10 @@
|
||||
* Make BlobDB wait for all background tasks on shutdown.
|
||||
* Fixed a BlobDB issue where some trash files are not tracked causing them to remain forever.
|
||||
|
||||
### Bug Fixes
|
||||
* Fix JEMALLOC_CXX_THROW macro missing from older Jemalloc versions, causing build failures on some platforms.
|
||||
|
||||
|
||||
## 6.0.0 (2/19/2019)
|
||||
### New Features
|
||||
* Enabled checkpoint on readonly db (DBImplReadOnly).
|
||||
|
||||
@@ -56,10 +56,10 @@ if [ -z "$ROCKSDB_NO_FBCODE" -a -d /mnt/gvfs/third-party ]; then
|
||||
if [ -n "$ROCKSDB_FBCODE_BUILD_WITH_481" ]; then
|
||||
# we need this to build with MySQL. Don't use for other purposes.
|
||||
source "$PWD/build_tools/fbcode_config4.8.1.sh"
|
||||
elif [ -n "$ROCKSDB_FBCODE_BUILD_WITH_PLATFORM007" ]; then
|
||||
source "$PWD/build_tools/fbcode_config_platform007.sh"
|
||||
else
|
||||
elif [ -n "$ROCKSDB_FBCODE_BUILD_WITH_5xx" ]; then
|
||||
source "$PWD/build_tools/fbcode_config.sh"
|
||||
else
|
||||
source "$PWD/build_tools/fbcode_config_platform007.sh"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#define ROCKSDB_MAJOR 6
|
||||
#define ROCKSDB_MINOR 0
|
||||
#define ROCKSDB_PATCH 1
|
||||
#define ROCKSDB_PATCH 2
|
||||
|
||||
// Do not use these. We made the mistake of declaring macros starting with
|
||||
// double underscore. Now we have to live with our choice. We'll deprecate these
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
#include <jemalloc/jemalloc.h>
|
||||
#endif
|
||||
|
||||
#ifndef JEMALLOC_CXX_THROW
|
||||
#define JEMALLOC_CXX_THROW
|
||||
#endif
|
||||
|
||||
// Declare non-standard jemalloc APIs as weak symbols. We can null-check these
|
||||
// symbols to detect whether jemalloc is linked with the binary.
|
||||
extern "C" void* mallocx(size_t, int) __attribute__((__weak__));
|
||||
|
||||
@@ -4701,10 +4701,10 @@ void VerifyDBFromDB(std::string& truth_db_name) {
|
||||
// the limit of qps initiation
|
||||
if (FLAGS_sine_a != 0 || FLAGS_sine_d != 0) {
|
||||
thread->shared->read_rate_limiter.reset(NewGenericRateLimiter(
|
||||
read_rate, 100000 /* refill_period_us */, 10 /* fairness */,
|
||||
static_cast<int64_t>(read_rate), 100000 /* refill_period_us */, 10 /* fairness */,
|
||||
RateLimiter::Mode::kReadsOnly));
|
||||
thread->shared->write_rate_limiter.reset(
|
||||
NewGenericRateLimiter(write_rate));
|
||||
NewGenericRateLimiter(static_cast<int64_t>(write_rate)));
|
||||
}
|
||||
|
||||
Duration duration(FLAGS_duration, reads_);
|
||||
@@ -4740,9 +4740,9 @@ void VerifyDBFromDB(std::string& truth_db_name) {
|
||||
mix_rate_with_noise * query.ratio_[1] * FLAGS_mix_ave_kv_size;
|
||||
|
||||
thread->shared->write_rate_limiter.reset(
|
||||
NewGenericRateLimiter(write_rate));
|
||||
NewGenericRateLimiter(static_cast<int64_t>(write_rate)));
|
||||
thread->shared->read_rate_limiter.reset(NewGenericRateLimiter(
|
||||
read_rate,
|
||||
static_cast<int64_t>(read_rate),
|
||||
FLAGS_sine_mix_rate_interval_milliseconds * uint64_t{1000}, 10,
|
||||
RateLimiter::Mode::kReadsOnly));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user