Joonas Koivunen

Results 155 comments of Joonas Koivunen

Latest troubles in staging have provided good ground for disk usage based eviction runs (`pageserver-[01].eu-west-1`), listing the examined outliers after #6131: ``` 2024-03-14T12:04:55.501895Z INFO disk_usage_eviction_task:iteration{iteration_no=1093}: collection took longer than threshold...

Before and after #7030: ``` 2024-03-21T02:41:07.618648Z INFO disk_usage_eviction_task:iteration{iteration_no=1362}: collection completed elapsed_ms=4969 total_layers=83690 2024-03-21T03:53:43.072165Z INFO disk_usage_eviction_task:iteration{iteration_no=400}: collection completed elapsed_ms=135 total_layers=83695 ``` The set of PRs culminating with #7030 also removed the...

How many bytes of RAM do we allow for single page reconstruction? I'm pausing #6881 because it would had made pageserver OOM more likely by yielding while applying, but of...

> #### Failures on Postgres 14 > > * `test_ancestor_detach_branched_from[True-False-earlier]`: [debug](https://neon-github-public-dev.s3.amazonaws.com/reports/pr-6888/9858213178/index.html#suites/a1c2be32556270764423c495fad75d47/b705e98c155865e7) Funnily enough, this is another instance of #7830, being fixed already.

In the meantime to providing proper docs, some pointers: - [pageserver::page_service](https://github.com/neondatabase/neon/blob/main/pageserver/src/page_service.rs) handles serving requests from postgres (compute) - https://github.com/neondatabase/neon/blob/8283779ee84d351f520c4f95327e646e2db0f7d7/pageserver/src/page_service.rs#L550 is where we enter a "pagestream" mode because compute requested it...

So right now we assign `AttachType::Normal` if an attach happens after initial tenant mgr init (regardless if the init is still ongoing). I was thinking this was already implemented, but...

I have been trying to wrap my mind around this. As far as implementing this, we would need to complicate `enum SpawnMode` passed to `Tenant::spawn` to specify lazy or eager....

`pgdatadir_mapping::tests::aux_files_round_trip` test fails: https://github.com/neondatabase/neon/actions/runs/8004082168/job/21860744770?pr=6873#step:18:1001 could `#[ignore]` if that is the intention.