Hello Alexey Serbin, Kudu Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/24679

to look at the new patch set (#4).

Change subject: KUDU-3795 Fix ENOSPC on dist-test due to compaction tests
......................................................................

KUDU-3795 Fix ENOSPC on dist-test due to compaction tests

HighDeltaVolumeWithFrequentFlush generates large amounts of on-disk data.
When multiple test instances run concurrently on dist-test slaves
sharing the same tmpfs, their combined disk usage can exhaust the available
space and trigger ENOSPC, causing misleading failures.

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. The test is also registered with
RUN_SERIAL true to prevent ctest from scheduling it concurrently with
other heavy tests on the same machine.

Because the reduced row count no longer organically crosses the 1 GB
hard memory limit, the memory-limit warning assertion is restored using
the same technique as TestMajorCompactionMemoryPressure and
TestRowSetCompactionMemoryPressure: 
memory_limit_compact_usage_warn_threshold_percentage
is set to 16 KB / 1 GB (~0.0015%), a value well below the minimum
tracked allocation at the start of any compaction run. This keeps the
behavioral assertion alive regardless of dataset size, without coupling
it to an absolute data volume.

The test is skipped for TSAN and ASAN builds to avoid spurious failures
due to their additional memory overhead and slower runtime.

Change-Id: I38df827a72626840a4da49e8a7b9d7f699525555
---
M src/kudu/tablet/CMakeLists.txt
M src/kudu/tablet/compaction-highmem-test.cc
2 files changed, 53 insertions(+), 33 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/79/24679/4
--
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: newpatchset
Gerrit-Change-Id: I38df827a72626840a4da49e8a7b9d7f699525555
Gerrit-Change-Number: 24679
Gerrit-PatchSet: 4
Gerrit-Owner: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to