This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new e77619ead [fs] fix NO_ROCKSDB build
e77619ead is described below

commit e77619ead773939df1fa81d90a96b693148a8079
Author: Alexey Serbin <[email protected]>
AuthorDate: Sun Dec 29 10:43:45 2024 -0800

    [fs] fix NO_ROCKSDB build
    
    This is a follow-up to 50eaddfa9448c188008939a4b8c1439e9d4c95d6.
    
    Change-Id: I62e8390b0775c471825aa022acec7f77d391a3a8
    Reviewed-on: http://gerrit.cloudera.org:8080/22276
    Reviewed-by: Yifan Zhang <[email protected]>
    Tested-by: Alexey Serbin <[email protected]>
---
 src/kudu/fs/fs_manager-test.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/kudu/fs/fs_manager-test.cc b/src/kudu/fs/fs_manager-test.cc
index b13e87a21..23c38226e 100644
--- a/src/kudu/fs/fs_manager-test.cc
+++ b/src/kudu/fs/fs_manager-test.cc
@@ -1274,6 +1274,7 @@ TEST_P(FsManagerTestBase, TestAddRemoveDataDirsFuzz) {
   const int kNumAttempts = AllowSlowTests() ? (FLAGS_block_manager == "logr" ? 
25 : 1000) : 10;
 #endif
 
+#if !defined(NO_ROCKSDB)
   // In case of the "logr" block manager, it's quite expensive to run paranoid
   // checks, allocate big RocksDB memtables, spawn many threads, and update
   // compaction stats on startup just to do that again next iteration
@@ -1284,6 +1285,7 @@ TEST_P(FsManagerTestBase, TestAddRemoveDataDirsFuzz) {
   FLAGS_log_container_rdb_skip_stats_update_on_db_open = true;
   FLAGS_log_container_rdb_max_background_jobs = 2;
   FLAGS_log_container_rdb_write_buffer_size = 1 << 20;
+#endif // #if !defined(NO_ROCKSDB)
 
   Random rng_(SeedRandom());
 

Reply via email to