Skip to content

Prepare 5.1.2 release - #1173

Merged
petergoldstein merged 3 commits into
5-1-stablefrom
release/5.1.2
Oct 2, 2026
Merged

petergoldstein merged 3 commits into
5-1-stablefrom
release/5.1.2

Conversation

@petergoldstein

Copy link
Copy Markdown
Owner

Summary

Releases 5.1.2, a backport of #1170 to the 5.1.x line.

  • Fix: multi-server get_multi stopped reading a server's replies at a hit on an empty value (VA 0). The rest of that server's keys were silently missing, and the unread replies were taken as the replies to later commands on the connection. A single-key get could then return another key's value. An empty value is now parsed as ''.
  • CI: backport of Refresh apt's package index before installing libevent in CI #1172 (apt-get update before installing libevent), without which every memcached-building job fails on current runner images.
  • Release prep: version bump to 5.1.2 and the changelog entry.

Testing

  • New tests: two parser tests for VA 0, and a 2-server integration test with 100 keys of 20KB and one empty value, checking the hash and block forms of get_multi and a get of every key afterwards. All of them fail without the fix and pass with it.
  • Full suite: 794 runs, 0 failures. No new RuboCop offenses compared with the branch base.

🤖 Generated with Claude Code

radixdev and others added 3 commits October 1, 2026 22:32
getk_response_from_buffer returned the no-body result for any header
with a zero size, which the pipelined getter reads as the terminating
MN. A VA 0 hit therefore ended the server's pipeline early, dropping
its remaining keys and leaving the rest of its replies unread on the
connection. Parse a VA 0 as an empty value instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 6d17ef9)
Every job that builds memcached (Tests, Benchmarks, Profiles) started
failing with 404s fetching libevent-2.1-7t64 2.1.12-stable-9ubuntu2.1:
the runner image's package index still lists a version Ubuntu's mirrors
have replaced. Run apt-get update before installing, and pass -y so the
install can't wait on a prompt.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
(cherry picked from commit 1bc2226)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@petergoldstein
petergoldstein merged commit 5d29692 into 5-1-stable Oct 2, 2026
29 checks passed
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.

2 participants