Skip to content

Update version to 9.2.0-rc2 and add release notes - #5278

Merged
JimB123 merged 1 commit into
9.2from
agent/release-cut/9.2.0-rc2
Nov 4, 2026
Merged

JimB123 merged 1 commit into
9.2from
agent/release-cut/9.2.0-rc2

Conversation

@valkeyrie-ops

@valkeyrie-ops valkeyrie-ops Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Caution

Opened ready with 2 unresolved security items (force_ready was set): release impact may require higher urgency or security treatment; a PR names a CVE (needs SECURITY urgency and a Security Fixes entry). Security classification is human-owned: settle the urgency and the Security Fixes entries (re-run the cut with them, or edit through review comments) before merging. All 9 flagged items: model declined to note some included PRs; notes flagged low-confidence; release-safety guardrail overrode AI triage; AI triaged PRs without release-notes (confirm include/exclude); release impact may require higher urgency or security treatment; a PR names a CVE (needs SECURITY urgency and a Security Fixes entry); AI triage could not decide some PRs; commits whose PR could not be fetched; notes credited to a backport.

Cuts 9.2.0-rc2 onto release line 9.2.

  • Promotes the release notes into a dated section, bumps src/version.h, and refreshes the running contributor list.
  • Release notes computed over the range below (9.2.0-rc1..89178b990d3efc70199b443c77d8e0f843399245):
mode: rc2
source_ref: 9.2
target_branch: 9.2
base: 9.2.0-rc1 @ f01ed55e8c3d
head: 89178b990d3efc70199b443c77d8e0f843399245 @ 89178b990d3e

⚠️ Model declined to note these PRs

Selected for the notes but no bullet was generated, so they are absent from the dated section: #4714. Confirm each omission and re-cut if one should be noted.

⚠️ Notes to double-check

The generator flagged these notes low-confidence; confirm category and wording before merging:

PR Category Why flagged
#4749 Cluster and Replication could be Configuration
#5167 Performance and Efficiency Improvements could be Bug Fixes (event-loop stall fix)
#4750 Bug Fixes unclear user-facing impact
#4054 Behavior Changes could be Bug Fixes or Behavior Changes
#4107 Performance and Efficiency Improvements explicit impact scope omitted: macOS, Linux
#4927 Build and Tooling explicit impact scope omitted: Linux
#4823 Bug Fixes explicit impact scope omitted: 32-bit
#4976 Performance and Efficiency Improvements explicit impact scope omitted: Linux
#5046 Bug Fixes explicit impact scope omitted: macOS
#5098 Bug Fixes may be internal-only; author says current callers were unaffected
#5135 CLI and Tools tool crash fix; could be Bug Fixes
#5168 CLI and Tools tool crash fix; could be Bug Fixes

⚠️ Release impact and urgency need review

Code detected release-impact terms (availability, memory safety, data integrity, access control, protocol, compatibility) in these PRs; this forces review, it is not a severity classification.

The requested urgency is LOW. Confirm whether these changes require HIGH, CRITICAL, or SECURITY, and whether any need a hand-authored Security Fixes entry:

⚠️ #5178 names CVE-2021-32627; #5163 names CVE-2021-32627; #5127 names CVE-2021-32672. A named CVE normally ships with SECURITY urgency and a hand-authored Security Fixes entry; this holds the cut at any other urgency.

51 PR(s) with impact signals
PR Title Signal
#4714 Deflake BgIterationTest.createAndCleanup server crash, assertion, or availability failure
#4749 Decouple rdbcompression (disk format) from repl-compression (wire format) upgrade or downgrade compatibility
#4754 Support streaming-compressed RDB preambles in AOF upgrade or downgrade compatibility
#3645 fix: Reject module writes during client pause to prevent crash server crash, assertion, or availability failure
#4339 Route security/auth crypto through the OpenSSL 3 provider API security, access-control, or injection hardening
#4880 Reject relative expires that overflow when the base time is added server crash, assertion, or availability failure
#4694 Include roles in ACL DIGEST security, access-control, or injection hardening
#4214 fix(acl): prevent NULL pointer dereference on malformed selector in ACL file server crash, assertion, or availability failure
#4504 Fix crash and wrong return values in the hash stringRef module API server crash, assertion, or availability failure
#4270 make getMonotonicUs static in libvalkeylua server crash, assertion, or availability failure
#4733 Fix sds overflow assert on RESTORE payload with an overflowing string length server crash, assertion, or availability failure
#4679 Support LBOUND, UBOUND, SATURATE, ENX, and PERSIST options for INCREX memory-safety risk
#4890 Fail the RDB transcode on bytes after the source frame server crash, assertion, or availability failure
#4894 Fix untracked expired hash fields after listpack-to-hashtable conversion server crash, assertion, or availability failure
#4354 Cache earliest timer for O(1) usUntilEarliestTimer lookup server crash, assertion, or availability failure
#4417 Speed up HGETALL, HKEYS and HVALS with exact-length headers and fused bulk replies server crash, assertion, or availability failure
#4489 Hold no descriptor on nodes.conf when rename() publishes it server crash, assertion, or availability failure
#4968 Fix crash when a database's keyspace is replaced mid-stage during defrag memory-safety risk
#4782 Make quicklist read-only iteration non-mutating on compressed nodes memory-safety risk
#5030 Fix cluster Pub/Sub length truncation memory-safety risk
#4886 Only warn about a command line password when -a or -u set it security, access-control, or injection hardening
#5091 Fix VM_Call crash on script-mode validation errors server crash, assertion, or availability failure
#5141 Don't block CLUSTER SETSLOT on replica acks when the client cannot block server crash, assertion, or availability failure
#5187 Defer freeing the client that runs a replication role change server crash, assertion, or availability failure
#5175 Stop valkey-benchmark function script generation when the buffer is full memory-safety risk
#5177 Size valkey-check-rdb stats for every selected DB server crash, assertion, or availability failure
#5182 Exempt slot import SYNCSLOTS FINISH from the write pause assertion server crash, assertion, or availability failure
#5178 Check XADD element size before creating the stream server crash, assertion, or availability failure
#5180 Redact HELLO, AUTH and MIGRATE credentials before validating arguments security, access-control, or injection hardening
#5126 Reject a +CONTINUE reply to PSYNC when there is no cached primary server crash, assertion, or availability failure
#5114 Allow server.log() during FUNCTION LOAD server crash, assertion, or availability failure
#5145 Ignore new nodes gossiped by a sender still in handshake data or persisted-state corruption risk
#5140 Reject RESET on slot migration clients server crash, assertion, or availability failure
#5147 Check argc before DEBUG SLOTMIGRATION reads its arguments server crash, assertion, or availability failure
#5132 Hash HyperLogLog elements with a size_t length memory-safety risk
#5166 Don't pause rehashing when iterating a hashtable with no table server crash, assertion, or availability failure
#5168 Keep a lone quote in the last CSV dataset field literally server crash, assertion, or availability failure
#5163 Fix integer overflow in _quicklistNodeAllowMerge size check server crash, assertion, or availability failure
#5151 Fix writevToClient stack overflow for empty bulk strings with copy avoidance data or persisted-state corruption risk
#5137 Ignore ping extension values that nodes.conf cannot load data or persisted-state corruption risk
#5131 Reply to CLUSTER SLOT-STATS ORDERBY with the slots it collected data or persisted-state corruption risk
#5133 Keep sds lengths in size_t when comparing and caching keys server crash, assertion, or availability failure
#5150 Don't queue a blocked primary when a timed-out script ends server crash, assertion, or availability failure
#5082 Replica: Tear down background iterators when swapping in a primary's RDB memory-safety risk
#5206 [Forkless] Allow primary client to be blocked with BLOCKED_INUSE server crash, assertion, or availability failure
#5205 bgiteration: avoid missing key check for multi/exec commands security, access-control, or injection hardening
#5128 Propagate PFADD elements applied before an INVALIDOBJ error data or persisted-state corruption risk
#5127 Script debugger: reset *argc on partial-read exit to fix server crash in SYNC mode server crash, assertion, or availability failure
#5159 Fill unmatched postponed reply lengths left by a module server crash, assertion, or availability failure
#5068 Delete empty Path Hash keys using the Hash lifecycle server crash, assertion, or availability failure
#4632 bgiteration hardening server crash, assertion, or availability failure

⚠️ Release-safety guardrail overrode AI triage

AI excluded these PRs (or gave no verdict) but their text names a release-impact signal, so code forced them into the notes; confirm each bullet, category, urgency, and security treatment:

PR Title Guardrail reason
#4714 Deflake BgIterationTest.createAndCleanup ⚠️ release-safety guardrail (server crash, assertion, or availability failure; AI exclusion)

Triage summary

  • 114 PR(s) triaged into the notes
  • 54 PR(s) triaged out
  • 5 PR(s) hard-excluded by no-release-notes

Per-PR verdicts (with reasons) are in the run's triage-verdicts artifact. To include a wrongly-dropped PR, label it release-notes and re-cut.

Needs triage

AI triage returned no verdict for these PRs, so they are not in the notes; label one release-notes and re-cut to include it.

PR Title
#4805 Fix several test-harness issues that can cause flaky failures.

⚠️ Commits whose PR could not be fetched

These range commits name a PR that could not be fetched and are absent from the notes; note any user-facing change by hand:

Commit PR referenced
5bbfe9821fa1 #4424

⚠️ Notes credited to a backport (original PR not recovered)

These notes credit the backport PR, not the change's author; confirm the original PR and correct the credit before merging:

Backport PR Title
#4968 Fix crash when a database's keyspace is replaced mid-stage during defrag

Wording carried from other release lines

A backported change is cut once per release line, and each cut words its notes independently. To keep one commit from being described differently per branch, a note whose source PR another line already published takes that published wording verbatim (joined on the trailing (#N), which always names the original source PR). Only the text is reused; the category, the by @handle credit, and the (#N) are this cut's own.

  • Release lines consulted: 9.1, 9.0, 8.1, 8.0, 7.2, 7.0, 6.2, 6.0, 5.0, 4.0, 3.2, 3.0, 2.8, 2.6, 2.4, 2.2
  • Reused published wording for 21 note(s)
21 note(s) reusing published wording
PR Wording from Carried wording This cut generated
#3645 9.1 (Valkey 9.1.3) Reject module write commands while the server is paused for writes, preventing a crash from module timer callbacks during CLIENT PAUSE WRITE or CLUSTER FAILOVER Reject module writes during CLIENT PAUSE WRITE or CLUSTER FAILOVER to prevent a crash when module timers or thread-safe contexts bypass the pause check
#4707 9.1 (Valkey 9.1.3) Fix event loop busy-spinning on virtual machines by not using raw TSC for the monotonic clock when the kernel clocksource is not tsc Use clock_gettime instead of raw TSC when the kernel clocksource is not tsc, preventing the event loop from busy-spinning on VMs after a vCPU migration
#4504 9.1 (Valkey 9.1.3) Fix a crash in ValkeyModule_HashHasStringRef on a missing or expired field and correct wrong return values in the hash stringRef module APIs Fix a crash and wrong return values in the ValkeyModule_HashHasStringRef and ValkeyModule_HashSetStringRef module APIs for missing or expired fields and keys
#4733 9.1 (Valkey 9.1.3) Fix a server abort on a RESTORE payload declaring a string length that overflows the allocation size; such payloads are now rejected as bad data Reject RESTORE payloads declaring an overflowing string length with a 'Bad data format' error instead of aborting the server
#4997 9.1 (Valkey 9.1.3) Fix ZINTER/ZINTERSTORE returning input-order-dependent scores when a weighted term is 0*inf; a NaN weighted score now counts as 0, matching ZUNION Fix ZINTER/ZINTERSTORE returning order-dependent scores when a weighted term is 0*inf; a NaN weighted score now counts as 0, matching ZUNION
#4739 9.1 (Valkey 9.1.3) valkey-check-aof now recognizes RDB base files with the VALKEY signature instead of misreporting a valid multipart AOF as invalid Fix valkey-check-aof to recognize Valkey RDB base files, which were misclassified and caused valid multipart AOFs to be reported invalid
#4567 8.0 (Valkey 8.0.12) Fix valkey-benchmark spinning on would-block writes, which could starve reply processing and the --duration timer Fix valkey-benchmark spinning on would-block writes, which could starve reply processing and the --duration timer
#4819 9.1 (Valkey 9.1.3) Fix listpack encoding incompatibility that caused RDB load and replication failures for entries of certain lengths between 9.0 and 9.1.x Fix listpack encoding of entries at certain exact lengths that caused RDB load and replication failures between Valkey 9.0 and 9.1.x nodes
#4880 9.1 (Valkey 9.1.3) Reject relative expire times in SET/GETEX, RESTORE, and ValkeyModule_SetExpire that overflow when added to the current time, preventing server aborts from negative expires Reject relative expire times in SET, GETEX, RESTORE, and the module API that overflow when added to the current time, preventing server crashes in active expiry and on AOF reload
#4772 9.1 (Valkey 9.1.3) HDEL, HGETDEL, HPERSIST, and HEXPIRE no longer propagate fields they treat as expired, preventing replica and AOF-reload divergence HDEL, HGETDEL, HPERSIST, and HEXPIRE no longer propagate expired hash fields, preventing divergence between primary, replicas, and AOF reloads
#4214 9.1 (Valkey 9.1.3) Fix a server crash when loading an ACL file containing a selector with an unmatched parenthesis Fix a crash when loading an ACL file containing a selector with an unmatched parenthesis
#4270 9.1 (Valkey 9.1.3) Fix a segfault on Alpine/musl when Lua is built as a module, caused by a symbol clash on an internal clock function Fix a crash when loading the Lua engine built as a module on musl-based systems such as Alpine
#4939 9.1 (Valkey 9.1.3) COPY of a hash now includes expired-but-unreaped fields so their deletion is propagated and replicas stay in sync COPY of a hash now includes expired-but-unreaped fields so their deletion is propagated and replicas no longer keep stale fields
#4875 9.1 (Valkey 9.1.3) Restore acceptance of hexadecimal float sorted set scores (such as 0x10), keeping replication and AOF replay compatible with Valkey 9.0 Restore acceptance of C99 hex-float scores (e.g. 0x10) in sorted set commands, keeping replication and AOF replay compatible with 9.0
#4637 9.1 (Valkey 9.1.3) Sorted set range commands with a negative LIMIT offset now return an empty result instead of a spurious element on btree-encoded keys Sorted set range commands with a negative LIMIT offset now return an empty result instead of a wrong element on btree-encoded keys
#4920 9.1 (Valkey 9.1.3) Fix atomic slot migration not replicating evictions on the import target, which let replicas grow far past maxmemory Replicate evictions performed during atomic slot migration so replicas no longer keep keys the primary evicted and grow past maxmemory
#4815 9.1 (Valkey 9.1.3) Redact error text in server logs when hide-user-data-from-log is enabled, so command arguments no longer leak into logs Redact error text in server logs for errors sent to replicas, primaries, AOF loading, and slot migration links when hide-user-data-from-log is enabled
#4945 9.1 (Valkey 9.1.3) Fix HSETEX and HGETEX failing to parse their arguments when the key is named fields HSETEX and HGETEX no longer misparse a key named fields as the FIELDS token and fail with an error
#4489 9.1 (Valkey 9.1.3) Fix cluster config saving to avoid publishing truncated nodes.conf files, losing the startup lock after the first save, and failing every save on SMB filesystems such as Azure Files; the lock now lives on a separate nodes.conf.lock file Lock the cluster config via a separate nodes.conf.lock file and close the temp file before rename, fixing crash loops on SMB/Azure Files and making the startup lock actually protect nodes.conf
#4823 9.1 (Valkey 9.1.3) Fix LSET on 64-bit builds silently modifying the wrong element for out-of-range indexes instead of returning an index out of range error LSET on 64-bit builds now returns an out-of-range error for indexes beyond 32 bits instead of modifying the wrong element
#4952 9.1 (Valkey 9.1.3) Fix atomic slot migration with cluster-databases > 1 applying writes made during the snapshot to the wrong database on the target Fix writes streamed during an atomic slot migration snapshot being applied to the wrong database on the target when cluster-databases > 1

Generated by valkey-ci-agent. Review before merging into the release line.

Signed-off-by: valkeyrie-bot[bot] <3692572+valkeyrie-bot[bot]@users.noreply.github.com>
@valkeyrie-ops

valkeyrie-ops Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

@JimB123, please review this automated release PR.

@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f7cd4cce-2d5e-4e2b-83a8-23770c8d95e3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@valkeyrie-ops valkeyrie-ops Bot mentioned this pull request Nov 4, 2026
@codecov

codecov Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.30%. Comparing base (89178b9) to head (7953698).

Additional details and impacted files
@@            Coverage Diff             @@
##              9.2    #5278      +/-   ##
==========================================
+ Coverage   81.23%   81.30%   +0.06%     
==========================================
  Files         199      199              
  Lines      103924   103924              
==========================================
+ Hits        84427    84498      +71     
+ Misses      19497    19426      -71     

see 22 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JimB123 JimB123 self-assigned this Nov 4, 2026
@JimB123 JimB123 removed this from Valkey 9.2 Nov 4, 2026
@JimB123
JimB123 merged commit d652009 into 9.2 Nov 4, 2026
96 of 107 checks passed

@zuiderkwast zuiderkwast left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Post-merge comment, for the record...

Comment thread 00-RELEASENOTES
* Fix quadratic slowdown in `HRANDFIELD` and `SRANDMEMBER` with counts on collections whose elements differ only in letter case by @madolson (#5167)
* Bound the time spent per cycle evicting keys from the client tracking table, avoiding long stalls after lowering `tracking-table-max-keys` by @tanmayBeginsJourney (#4775)
* Speed up the `INFO` command by around 5% by pre-allocating the output buffer by @charsyam (#3413)
* Reclaim client-side caching tracking table entries left by disconnected clients, fixing a memory leak under read-heavy workloads, and include the tracking table in active defrag by @rayjinghaolei (#4190)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This memory leak fix: move to bug fixes.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not technically a memory leak as it's documented behavior in Redis. But yes, I agree that in reality it should have always been considered a bug.

Comment thread 00-RELEASENOTES
Comment on lines +174 to +175
### Behavior Changes
* `ZRANGEBYSCORE`, `ZREVRANGEBYSCORE`, `ZCOUNT`, and `ZRANGESTORE` now reject a bare `(` or an empty string as a score bound instead of silently treating it as 0 by @AlisinaDevelo (#4054)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also decided this was a bug.

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