Reset prefetch ring state in case of propagated error

This commit is contained in:
Kosntantin Knizhnik
2025-06-26 16:13:22 +03:00
parent 3635e5da7d
commit 9f13a34837

View File

@@ -1453,6 +1453,7 @@ page_server_request(void const *req)
* Cancellation in this code needs to be handled better at some
* point, but this currently seems fine for now.
*/
prefetch_on_ps_disconnect();
page_server->disconnect(shard_no);
MyNeonCounters->pageserver_open_requests = 0;