KB5054833: Cumulative update for SQL Server 2019, CU branch, February 2025. Read-scale availability groups stay in place after patching
Patching a read-scale availability group no longer removes it from the patched replica. An open issue can still make some queries return incorrect results or create diagnostic files.
Does it affect you? Applies to: SQL Server 2019 instances. The update applies to all supported languages; packages and update instructions are provided for Windows and Linux.
Review notes Additional details from the official release notes (3) Read notes
- In short Queries using SESSION_CONTEXT may return incorrect results or trigger access violation (AV) dump files when run in parallel query plans.
- Known issues Queries using SESSION_CONTEXT may return incorrect results or trigger access violation (AV) dump files when run in parallel query plans.
- What to do If SQL Server 2019 CU31 is installed and the read-scale availability group issue occurs, recreate the availability group after installing CU32.
The official sources are linked at the end of the page.
For servers on the CU branch: they install cumulative updates, which also bring fixes beyond security. Servers on the GDR branch (security fixes only) get a separate update. Which branch am I on?
What changes
Fix 1 change
High Availability and Disaster Recovery
-
Patching a read-scale availability group no longer removes it from the patched replica.1
Fixes bug 3907024. If SQL Server 2019 CU31 is already installed and the issue occurred, re-create the availability group after installing this update.
Known issues
-
Incorrect behavior of SESSION_CONTEXT in parallel plans
Some database queries that use a saved session value might return incorrect results or create diagnostic files when SQL Server runs them in parallel, particularly after a session is reset and reused.2
Workaround status No workaround yetMicrosoft has not published a manual workaround for this issue yet. Monitor release health until a resolving update is available.
Technical details
Data sheet · Security · Downloads · Components Click to collapse or expand
Data sheet
- Released
- 2025-02-27
- Classification
- Updates
- Type
- Cumulative update
- Servicing branch
- CU
- Restart
- Required
- Replaces
- KB5049296, KB5049235, KB5046365, KB5039747
- Replaced by
- KB5058722
| Version | Build | Channel |
|---|---|---|
| 2019 | 15.0.4430.1 | General availability |
Security
No vulnerabilities are listed for this update.
Downloads (Microsoft Update Catalog)
Sources
Cited passages from Microsoft's official notes (2)
-
1.
Fixes an issue in which patching a read-scale availability group causes the availability group on the patched replica to be removed.
support.microsoft.com -
2.
Queries that use the built-in
support.microsoft.comSESSION_CONTEXTfunction might return incorrect results or trigger access violation (AV) dump files when run in parallel query plans.
Checked automatically: 8 of 8 checks passed, 2 quoted passages · compared with Microsoft's page on Oct 20, 2026
- Quotes found in the official pages: passed
- Numbers found in the sources: passed
- Vulnerabilities from the dossier only: passed
- Links to allowed domains only: passed
- Every official change covered: passed
- Readable plain text: passed
- Changes confirmed by the file list: passed
- Sources agree: passed
A second AI read the text against the sources: correctness 4/5, clarity 4/5, completeness 5/5. How we work
Published by The Update Bureau. Written with AI from Microsoft's own documents, checked by rules and a second AI. How we work · Report a mistake