Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pageserver): add compact queue http endpoint #10173

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Conversation

skyzh
Copy link
Member

@skyzh skyzh commented Dec 17, 2024

Problem

We cannot get the size of the compaction queue and access the info.

Part of #9114

Summary of changes

  • Add an API endpoint to get the compaction queue.
  • gc_compaction test case now waits until the compaction finishes.

@skyzh skyzh requested a review from a team as a code owner December 17, 2024 17:23
@skyzh skyzh requested review from arssher, problame and arpad-m and removed request for arssher December 17, 2024 17:23
@skyzh skyzh force-pushed the skyzh/compact-queue branch from fffe78d to fd38f29 Compare December 17, 2024 17:32
Copy link

github-actions bot commented Dec 17, 2024

7095 tests run: 6797 passed, 0 failed, 298 skipped (full report)


Flaky tests (5)

Postgres 15

  • test_pgdata_import_smoke[None-1024-RelBlockSize.MULTIPLE_RELATION_SEGMENTS]: release-arm64
  • test_pgdata_import_smoke[8-1024-RelBlockSize.MULTIPLE_RELATION_SEGMENTS]: release-arm64
  • test_lr_with_slow_safekeeper: release-x86-64

Postgres 14

  • test_pgdata_import_smoke[None-1024-RelBlockSize.MULTIPLE_RELATION_SEGMENTS]: release-arm64
  • test_pgdata_import_smoke[8-1024-RelBlockSize.MULTIPLE_RELATION_SEGMENTS]: release-arm64

Code coverage* (full report)

  • functions: 31.3% (8398 of 26865 functions)
  • lines: 48.0% (66655 of 138941 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
f042def at 2024-12-18T18:02:34.340Z :recycle:

pageserver/src/http/routes.rs Outdated Show resolved Hide resolved
Signed-off-by: Alex Chi Z <[email protected]>
@skyzh skyzh requested a review from arpad-m December 18, 2024 17:01
@skyzh skyzh enabled auto-merge December 18, 2024 17:09
@skyzh skyzh added this pull request to the merge queue Dec 18, 2024
Merged via the queue into main with commit 3d1c3a8 Dec 18, 2024
82 checks passed
@skyzh skyzh deleted the skyzh/compact-queue branch December 18, 2024 18:10
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.

2 participants