Ashwani Raina has uploaded this change for review. ( 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 TestHeavyUpdateCompaction and HighDeltaVolumeWithFrequentFlush ForRowsetCompaction generate large amounts of on-disk data. When multiple test instances run concurrently on dist-test slaves sharing the same tmpfs, their combined disk usage exhausts the available space and triggers ENOSPC, causing misleading failures. For TestHeavyUpdateCompaction (heavy-update-compaction-itest.cc), the default 500-row workload generates several hundred MB per instance. The existing TSAN/ASAN-specific reduction to 20 rows is extended unconditionally to all build types, eliminating the per-build ladder in favour of a single safe value. For HighDeltaVolumeWithFrequentFlushForRowsetCompaction (compaction-highmem-test.cc), kRowsPerRowset and kNumRowsets are promoted to static constexpr class members (removing the duplicated local definitions in the generator and test body), and kRowsPerRowset is reduced from 1000 to 20 for all build types. The memory-limit warning assertion, which only held at the original 1000-row workload that genuinely crossed 1 GB, is removed. The test is also registered with RUN_SERIAL true to prevent ctest from scheduling it concurrently with other heavy tests on the same machine. Change-Id: I38df827a72626840a4da49e8a7b9d7f699525555 --- M src/kudu/integration-tests/heavy-update-compaction-itest.cc M src/kudu/tablet/CMakeLists.txt M src/kudu/tablet/compaction-highmem-test.cc 3 files changed, 40 insertions(+), 47 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/79/24679/1 -- 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: newchange Gerrit-Change-Id: I38df827a72626840a4da49e8a7b9d7f699525555 Gerrit-Change-Number: 24679 Gerrit-PatchSet: 1 Gerrit-Owner: Ashwani Raina <[email protected]>
