From fab9dd96354334573d7feb3e268a68ecfd5b207c Mon Sep 17 00:00:00 2001 From: Yu Zhang Date: Wed, 10 Apr 2024 13:47:52 -0700 Subject: [PATCH] Temporary revert #12386 to unblock MyRocks build (#12523) Summary: MyRocks reports build failure with this change (build failures in this diff: https://www.internalfb.com/diff/D55924596) https://github.com/facebook/rocksdb/issues/12386, we haven't figured out how to fix it yet. So we are temporarily reverting it to unblock them. This reverts commit 3104e55f298c9af087a0d07b99627aa476db6e27. Pull Request resolved: https://github.com/facebook/rocksdb/pull/12523 Reviewed By: hx235 Differential Revision: D55981751 Pulled By: jowlyzhang fbshipit-source-id: 1d7edd42b65ca847cec67549644a2b1e5775841e --- db/db_impl/db_impl.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/db/db_impl/db_impl.cc b/db/db_impl/db_impl.cc index f7e6f9692b..a06878e01a 100644 --- a/db/db_impl/db_impl.cc +++ b/db/db_impl/db_impl.cc @@ -72,9 +72,6 @@ #include "options/cf_options.h" #include "options/options_helper.h" #include "options/options_parser.h" -#ifdef ROCKSDB_JEMALLOC -#include "port/jemalloc_helper.h" -#endif #include "port/port.h" #include "rocksdb/cache.h" #include "rocksdb/compaction_filter.h" @@ -152,12 +149,6 @@ void DumpSupportInfo(Logger* logger) { crc32c::IsFastCrc32Supported().c_str()); ROCKS_LOG_HEADER(logger, "DMutex implementation: %s", DMutex::kName()); - - bool jemalloc_supported = false; -#ifdef ROCKSDB_JEMALLOC - jemalloc_supported = HasJemalloc(); -#endif - ROCKS_LOG_HEADER(logger, "Jemalloc supported: %d", jemalloc_supported); } } // namespace