neondatabase / neon

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
https://neon.tech
Apache License 2.0
14.48k stars 419 forks source link

pageserver: add more info-level logging in shard splits #8137

Closed jcsp closed 3 months ago

jcsp commented 3 months ago

Problem

test_sharding_autosplit is occasionally failing on warnings about shard splits taking longer than expected (Exclusive lock by ShardSplit was held for...)

It's not obvious which part is taking the time (I suspect remote storage uploads).

Example: https://neon-github-public-dev.s3.amazonaws.com/reports/main/9618788427/index.html#testresult/b395294d5bdeb783/

Summary of changes

Checklist before requesting a review

Checklist before merging

github-actions[bot] commented 3 months ago

2910 tests run: 2793 passed, 0 failed, 117 skipped (full report)


Flaky tests (1) #### Postgres 16 - `test_tenant_delete_smoke`: [release](https://neon-github-public-dev.s3.amazonaws.com/reports/pr-8137/9636039975/index.html#suites/3556ed71f2d69272a7014df6dcb02317/86d5d8141745c902/retries)

Code coverage* (full report)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
7f7f33f7e83a4c5fdeea2353bc364428e600a607 at 2024-06-23T20:44:32.953Z :recycle: