Files
neon/pgxn
Konstantin Knizhnik cfe3e6d4e1 Remove loop from pageserver_try_receive (#11387)
## Problem

Commit
https://github.com/neondatabase/neon/commit/3da70abfa5092bacdebed03d6f771dd28334d479
cause noticeable performance regression (40% in update-with-prefetch in
test_bulk_update):
https://neondb.slack.com/archives/C04BLQ4LW7K/p1742633167580879

## Summary of changes

Remove loop from pageserver_try_receive to make it fetch not more than
one response. There is still loop in `pump_prefetch_state` which can
fetch as many responses as available.

Co-authored-by: Konstantin Knizhnik <knizhnik@neon.tech>
2025-03-31 19:49:32 +00:00
..
2024-10-07 23:49:11 +03:00