mirror of https://github.com/facebook/rocksdb.git
Make sure DBImplFollower::stop_requested_ is initialized (#12572)
Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/12572 Reviewed By: jowlyzhang, anand1976 Differential Revision: D56426800 fbshipit-source-id: a31f86d8869148092325924db4e7fbfad28777a4
This commit is contained in:
parent
d8fb849b7e
commit
bcfe4a0dcf
|
@ -26,6 +26,7 @@ DBImplFollower::DBImplFollower(const DBOptions& db_options,
|
||||||
const std::string& dbname, std::string src_path)
|
const std::string& dbname, std::string src_path)
|
||||||
: DBImplSecondary(db_options, dbname, ""),
|
: DBImplSecondary(db_options, dbname, ""),
|
||||||
env_guard_(std::move(env)),
|
env_guard_(std::move(env)),
|
||||||
|
stop_requested_(false),
|
||||||
src_path_(std::move(src_path)),
|
src_path_(std::move(src_path)),
|
||||||
cv_(&mu_) {
|
cv_(&mu_) {
|
||||||
ROCKS_LOG_INFO(immutable_db_options_.info_log,
|
ROCKS_LOG_INFO(immutable_db_options_.info_log,
|
||||||
|
|
Loading…
Reference in New Issue