8000 EXT-1779 Fix last level compaction by SammyVimes · Pull Request #30448 · ydb-platform/ydb · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@SammyVimes
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings December 10, 2025 09:44
@github-actions
Copy link
github-actions bot commented Dec 10, 2025

2025-12-10 09:45:56 UTC Pre-commit check for c550ffa has started.
2025-12-10 09:48:27 UTC Build linux-x86_64-release-asan is running...
🟢 2025-12-10 10:52:20 UTC Build successful.
2025-12-10 10:52:33 UTC Tests are running...
🔴 2025-12-10 13:10:50 UTC Some tests failed, follow the links below.

Test log

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10051 9921 0 27 18 85

🔴 2025-12-10 13:11:56 UTC ydbd size 5.7 GiB changed* by +1.8 GiB, which is >= 2.0 MiB vs main: Alert

ydbd size dash main: b890600 merge: c550ffa diff diff %
ydbd size 4 132 228 536 Bytes 6 069 942 688 Bytes +1.8 GiB +46.893%
ydbd stripped size 1 533 866 936 Bytes 1 519 876 672 Bytes -13.3 MiB -0.912%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link
github-actions bot commented Dec 10, 2025

2025-12-10 09:45:58 UTC Pre-commit check for c550ffa has started.
2025-12-10 09:48:30 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2025-12-10 10:40:52 UTC Build successful.
2025-12-10 10:41:06 UTC Tests are running...
🔴 2025-12-10 12:08:24 UTC Some tests failed, follow the links below.

Test log

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
14486 13112 0 1 1292 81

🔴 2025-12-10 12:09:17 UTC ydbd size 2.8 GiB changed* by +475.7 MiB, which is >= 2.0 MiB vs main: Alert

ydbd size dash main: b890600 merge: c550ffa diff diff %
ydbd size 2 467 644 864 Bytes 2 966 404 280 Bytes +475.7 MiB +20.212%
ydbd stripped size 525 107 648 Bytes 473 689 480 Bytes -49.0 MiB -9.792%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@ydbot
Copy link
Collaborator
ydbot commented Dec 10, 2025

Run Extra Tests

Run additional tests for this PR. You can customize:

  • Test Size: small, medium, large (default: all)
  • Test Targets: any directory path (default: ydb/)
  • Sanitizers: ASAN, MSAN, TSAN
  • Coredumps: enable for debugging (default: off)
  • Additional args: custom ya make arguments

▶  Run tests

Copy link
Contributor
Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes an issue with last level compaction by changing the time source used when initiating full compaction tasks, and adds comprehensive test coverage for huge blob recompaction behavior.

  • Changed time source from ctx.Now() to AppData()->TimeProvider->Now() in the full compaction trigger
  • Added test case to verify blobs are correctly recompacted from inplaced to huge storage after minHugeBlobSize configuration changes
  • Added helper methods to the test environment for triggering compaction and accessing performance counters

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
ydb/core/blobstorage/vdisk/hullop/blobstorage_hullactor.cpp Changed time source for full compaction from ctx.Now() to AppData()->TimeProvider->Now() to support time mocking in tests
ydb/core/blobstorage/ut_vdisk2/huge.cpp Added HugeBlobRecompaction test case to verify correct blob recompaction behavior after configuration changes
ydb/core/blobstorage/ut_vdisk2/env.h Added Compact() and GetCounters() helper methods to test environment for triggering compaction and accessing counters

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@SammyVimes SammyVimes merged commit c9ef6a8 into ydb-platform:stream-nb-24-4 Dec 10, 2025
10 of 16 checks passed
@SammyVimes SammyVimes deleted the stream-nb-24-4-ext-1779 branch December 10, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0