Skip to content

bugfix: routesrv return full routingTable with zone#3984

Merged
szuecs merged 2 commits intomasterfrom
fix-zone-routes-update
Apr 25, 2026
Merged

bugfix: routesrv return full routingTable with zone#3984
szuecs merged 2 commits intomasterfrom
fix-zone-routes-update

Conversation

@MustafaSaber
Copy link
Copy Markdown
Member

In routeSRV, when we serve zone aware routes after zone: r.PathValue("zone") we only update uncompressed data, while http.Client serves compressed data by default. Which made all requests land in gzip branch later.

And gzip branch is serving zdata which was never updated with the new routingTable.

This commit include a reproducer testcase and the fix is in the next commit.

In routeSRV, when we serve zone aware routes after `zone: r.PathValue("zone")`
we only update uncompressed data, while http.Client serves compressed data
by default. Which made all requests land in `gzip` branch later.

And `gzip` branch is serving `zdata` which was never updated with the new
routingTable.

This commit include a reproducer testcase and the fix is in the next commit.

Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
@MustafaSaber MustafaSaber added the bugfix Bug fixes and patches label Apr 24, 2026
…unt as it was also always returning the full routing table count

Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
@greeshma1196
Copy link
Copy Markdown
Collaborator

👍🏽

@szuecs szuecs merged commit 6fc1ec4 into master Apr 25, 2026
15 checks passed
@szuecs szuecs deleted the fix-zone-routes-update branch April 25, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Bug fixes and patches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants