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:
Levi Tamasi 2024-04-22 12:02:28 -07:00 committed by Facebook GitHub Bot
parent d8fb849b7e
commit bcfe4a0dcf
1 changed files with 1 additions and 0 deletions

View File

@ -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,