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

init logical size: infallible accessor + type-level cleanups #5999

Merged
merged 2 commits into from
Dec 1, 2023

Conversation

problame
Copy link
Contributor

Stacked atop #5995 for no particular reason.

@problame problame requested a review from koivunej November 30, 2023 14:54
@problame problame requested review from a team as code owners November 30, 2023 14:54
@problame problame requested review from knizhnik and removed request for a team and knizhnik November 30, 2023 14:54
Copy link

github-actions bot commented Nov 30, 2023

2430 tests run: 2334 passed, 0 failed, 96 skipped (full report)


Flaky tests (8)

Postgres 16

  • test_crafted_wal_end[last_wal_record_crossing_segment]: debug
  • test_wal_page_boundary_start: release
  • test_pitr_gc: debug

Postgres 15

  • test_timetravel: debug
  • test_empty_tenant_size: debug

Postgres 14

  • test_branching_with_pgbench[cascade-1-10]: debug
  • test_pageserver_restarts_under_worload: debug
  • test_timetravel: debug

Code coverage (full report)

  • functions: 54.5% (9285 of 17026 functions)
  • lines: 82.0% (53942 of 65759 lines)

The comment gets automatically updated with the latest test results
9275824 at 2023-12-01T13:07:57.997Z :recycle:

Base automatically changed from problame/init-logical-size-metrics to main December 1, 2023 11:53
... by panicking on overflow;

It was made fallible initially due to in-confidence in logical size
calculation. However, the error has never happened since I am at Neon.

Let's stop worrying about this by converting the overflow check into a panic.
…5999)

I would love to not expose the in-accurate value int he mgmt API at all,
and in fact control plane doesn't use it [^1].
But our tests do, and I have no desire to change them at this time.

[^1]: neondatabase/cloud#8317
@problame problame force-pushed the problame/init-logical-size-cleanups branch from 8d427ea to 9275824 Compare December 1, 2023 12:00
@problame problame enabled auto-merge (rebase) December 1, 2023 12:01
@problame problame merged commit ce16529 into main Dec 1, 2023
42 checks passed
@problame problame deleted the problame/init-logical-size-cleanups branch December 1, 2023 13:16
problame added a commit that referenced this pull request Dec 1, 2023
... by panicking on overflow;

It was made fallible initially due to in-confidence in logical size
calculation. However, the error has never happened since I am at Neon.

Let's stop worrying about this by converting the overflow check into a panic.
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