Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/24679 )
Change subject: KUDU-3795 Fix ENOSPC on dist-test due to compaction tests ...................................................................... KUDU-3795 Fix ENOSPC on dist-test due to compaction tests HighDeltaVolumeWithFrequentFlushForRowsetCompaction generates large amounts of on-disk delta data. When multiple test instances run concurrently on dist-test slaves sharing the same tmpfs, their combined disk usage can exhaust available space and trigger ENOSPC, causing misleading failures. The test is removed from compaction-highmem-test.cc and preserved as a standalone benchmark in src/kudu/benchmarks/compaction_highmem_benchmark.cc. The benchmark is built via add_executable (not ADD_KUDU_TEST) and is therefore never scheduled by the CI runner. It exercises the full intended workload — kRowsPerRowset=1000 with 64 KiB wide UNDO-delta mutations — and pins FLAGS_memory_limit_hard_bytes to 20 GiB so that peak compaction memory naturally crosses the hard limit and emits the "beyond hard memory limit" warning without any artificial threshold manipulation. tablet.h declares CompactionHighMemBenchmark as a friend class so the benchmark can access the same private test-only tablet APIs used by the original test (FlushAllDMSForTests, GetRowSetsForTests). Change-Id: I38df827a72626840a4da49e8a7b9d7f699525555 Reviewed-on: http://gerrit.cloudera.org:8080/24679 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Alexey Serbin <[email protected]> --- M src/kudu/benchmarks/CMakeLists.txt A src/kudu/benchmarks/compaction_highmem_benchmark.cc M src/kudu/tablet/CMakeLists.txt M src/kudu/tablet/compaction-highmem-test.cc M src/kudu/tablet/tablet.h 5 files changed, 280 insertions(+), 276 deletions(-) Approvals: Alexey Serbin: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/24679 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I38df827a72626840a4da49e8a7b9d7f699525555 Gerrit-Change-Number: 24679 Gerrit-PatchSet: 6 Gerrit-Owner: Ashwani Raina <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Ashwani Raina <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Zoltan Martonka <[email protected]>
