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

pageserver: return correct LSN for interpreted proto keep alive responses #9928

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

VladLazar
Copy link
Contributor

Problem

For the interpreted proto the pageserver is not returning the correct LSN
in replies to keep alive requests. This is because the interpreted protocol arm
was not updating last_rec_lsn.

Summary of changes

  • Return correct LSN in keep-alive responses
  • Fix shard field in wal sender traces

@VladLazar VladLazar requested a review from a team as a code owner November 28, 2024 16:05
@VladLazar VladLazar requested review from arssher and erikgrinaker and removed request for arssher November 28, 2024 16:05
@VladLazar VladLazar enabled auto-merge November 28, 2024 16:18
Copy link

6941 tests run: 6633 passed, 0 failed, 308 skipped (full report)


Flaky tests (2)

Postgres 15

Code coverage* (full report)

  • functions: 30.6% (7984 of 26064 functions)
  • lines: 48.6% (63471 of 130598 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
f513319 at 2024-11-28T17:15:37.943Z :recycle:

@VladLazar VladLazar added this pull request to the merge queue Nov 28, 2024
Merged via the queue into main with commit eb520a1 Nov 28, 2024
82 checks passed
@VladLazar VladLazar deleted the vlad/sk-ps-proto-fixes branch November 28, 2024 17:39
awarus pushed a commit that referenced this pull request Dec 5, 2024
…nses (#9928)

## Problem

For the interpreted proto the pageserver is not returning the correct
LSN
in replies to keep alive requests. This is because the interpreted
protocol arm
was not updating `last_rec_lsn`.

## Summary of changes

* Return correct LSN in keep-alive responses
* Fix shard field in wal sender traces
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.

3 participants