Skip to content

Commit 42f61fd

Browse files
author
Simonx Xu
committed
Update for 2022
1 parent 89f963f commit 42f61fd

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

support/sql/releases/includes/patching-error-2022.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
ms.author: jaferebe
33
author: JamesFerebee
4-
ms.date: 08/20/2024
4+
ms.date: 04/30/2025
55
ms.custom: sap:Installation, Patching, Upgrade, Uninstall, evergreen
66
---
7-
SQL Server 2022 CU13 introduced fix [2998350](../sqlserver-2022/cumulativeupdate13.md#2998350) to make secondary databases in an availability group (AG) startup more reliably. However, this fix causes a problem where AG databases don't start recovery if SQL Server is running in single-user mode. SQL Server Setup runs in single-user mode. As a result of this, if you run Setup and also have SQL replication, change data capture (CDC), or SQL Server Integration Services database (**SSISDB**) enabled on a database in the AG, when the catalog upgrade scripts try to run but can't access the database, setup fails.
7+
SQL Server 2022 CU13 introduced fix [2998350](../sqlserver-2022/cumulativeupdate13.md#2998350) to make secondary databases in an availability group (AG) startup more reliably. However, this fix causes a problem where AG databases don't start recovery if SQL Server is running in single-user mode. SQL Server Setup runs in single-user mode. As a result of this, if you run Setup and also have SQL replication or change data capture (CDC) enabled on a database in the AG, when the catalog upgrade scripts try to run but can't access the database, setup fails.
88

99
After SQL Server Setup initially fails, the SQL Server service then tries to come online again without single-user mode. At that time, the patch upgrade scripts finish successfully and patching is complete. Once startup completes, the issue is resolved and no user action is required.
1010

@@ -22,7 +22,7 @@ If you want to prevent the patch from reporting an initial failure, you can perf
2222

2323
- Enable Trace Flag 12347 - reverts the changes made in fix [2998350](../sqlserver-2022/cumulativeupdate13.md#2998350). You should remove this trace flag after patching.
2424

25-
- Drop the **SSISDB**, CDC, or replication enabled database from the AG.
25+
- Drop the CDC or replication enabled database from the AG.
2626

2727
- Remove CDC or replication from the database in the AG.
2828

support/sql/releases/sqlserver-2022/cumulativeupdate14.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Cumulative update 14 for SQL Server 2022 (KB5038325)
33
description: This article contains the summary, known issues, improvements, fixes and other information for SQL Server 2022 cumulative update 14 (KB5038325).
4-
ms.date: 09/11/2024
4+
ms.date: 04/30/2025
55
ms.custom: sap:Installation, Patching, Upgrade, Uninstall, evergreen, KB5038325
66
ms.reviewer: v-qianli2
77
appliesto:
@@ -23,7 +23,7 @@ This article describes Cumulative Update package 14 (CU14) for Microsoft SQL Ser
2323

2424
## Known issues in this update
2525

26-
### Issue one: Patching error for secondary replicas in an availability group with databases enabled replication, CDC, or SSISDB
26+
### Issue one: Patching error for secondary replicas in an availability group with databases enabled replication or CDC
2727

2828
[!INCLUDE [patching-error-2022](../includes/patching-error-2022.md)]
2929

support/sql/releases/sqlserver-2022/cumulativeupdate15.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Cumulative update 15 for SQL Server 2022 (KB5041321)
33
description: This article contains the summary, known issues, improvements, fixes and other information for SQL Server 2022 cumulative update 15 (KB5041321).
4-
ms.date: 09/25/2024
4+
ms.date: 04/30/2025
55
ms.custom: sap:Installation, Patching, Upgrade, Uninstall, evergreen, KB5041321
66
ms.reviewer: v-qianli2
77
appliesto:
@@ -23,7 +23,7 @@ This article describes Cumulative Update package 15 (CU15) for Microsoft SQL Ser
2323

2424
## Known issues in this update
2525

26-
### Patching error for secondary replicas in an availability group with databases enabled replication, CDC, or SSISDB
26+
### Patching error for secondary replicas in an availability group with databases enabled replication or CDC
2727

2828
[!INCLUDE [patching-error-2022](../includes/patching-error-2022.md)]
2929

support/sql/releases/sqlserver-2022/cumulativeupdate16.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Cumulative update 16 for SQL Server 2022 (KB5048033)
33
description: This article contains the summary, known issues, improvements, fixes and other information for SQL Server 2022 cumulative update 16 (KB5048033).
4-
ms.date: 11/14/2024
4+
ms.date: 04/30/2025
55
ms.custom: sap:Installation, Patching, Upgrade, Uninstall, evergreen, KB5048033
66
ms.reviewer: v-qianli2
77
appliesto:
@@ -42,7 +42,7 @@ For more information about the bugs that are fixed and enhancements that are inc
4242
| <a id=3586315>[3586315](#3586315) </a> | [FIX: Database is suspended incorrectly when you run ALTER SERVER CONFIGURATION (KB5048510)](database-suspend-incorrect-run-alter-server-configuration.md) | SQL Server Engine | Backup Restore| All|
4343
| <a id=2331381>[2331381](#2331381) </a> | Fixes an issue that causes the `BACKUP SERVER WITH METADATA_ONLY` snapshot command to fail with the following errors when the SQL Server instance has more than 64 databases: </br></br>Msg 3088, Level 16, State 1, Line \<LineNumber> </br>Server \<ServerName> with dbid \<DatabaseID> failed to resume in session \<SessionID>. </br></br>Msg 925, Level 19, State 1, Line \<LineNumber> </br>Maximum number of databases used for each query has been exceeded. The maximum allowed is 64. </br></br>Msg 0, Level 20, State 0, Line \<LineNumber> </br>A severe error occurred on the current command. The results, if any, should be discarded.| SQL Server Engine | Backup Restore| All|
4444
| <a id=3567000>[3567000](#3567000) </a> | Fixes a deadlock issue that you might encounter when performing a Transact-SQL snapshot backup using the `METADATA_ONLY` option under heavy concurrent OLTP workloads, which causes an eventual time-out of the backup with the following errors: </br></br>Error: 3041, Severity: 16, State: 1. </br>BACKUP failed to complete the command BACKUP DATABASE \<DatabaseName>. Check the backup application log for detailed messages. </br></br>\<DateTime> ERROR: [PID:\<PID>:Backup:\<BackupID>] Snapshot failed with message 'Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.'. | SQL Server Engine | Backup Restore| All|
45-
| <a id=3418488>[3418488](#3418488) </a> | Fixes a patching error that you encounter in secondary replicas of an availability group with databases that have SQL replication, change data capture (CDC), or SQL Server Integration Services database (SSISDB) enabled. For more information, see [known issue of SQL Server 2022 CU15](cumulativeupdate15.md#patching-error-for-secondary-replicas-in-an-availability-group-with-databases-enabled-replication-cdc-or-ssisdb) or [known issue one of SQL Server 2022 CU14](cumulativeupdate14.md#issue-one-patching-error-for-secondary-replicas-in-an-availability-group-with-databases-enabled-replication-cdc-or-ssisdb). | SQL Server Engine | High Availability and Disaster Recovery | Windows|
45+
| <a id=3418488>[3418488](#3418488) </a> | Fixes a patching error that you encounter in secondary replicas of an availability group with databases that have SQL replication or change data capture (CDC) enabled. For more information, see [known issue of SQL Server 2022 CU15](cumulativeupdate15.md#patching-error-for-secondary-replicas-in-an-availability-group-with-databases-enabled-replication-or-cdc) or [known issue one of SQL Server 2022 CU14](cumulativeupdate14.md#issue-one-patching-error-for-secondary-replicas-in-an-availability-group-with-databases-enabled-replication-or-cdc). | SQL Server Engine | High Availability and Disaster Recovery | Windows|
4646
| <a id=3487067>[3487067](#3487067) </a> | Fixes an issue that causes database corruption if a system failure with `alternatewritethrough` mode occurs.| SQL Server Engine | Linux | Linux|
4747
| <a id=3435174>[3435174](#3435174) </a> | Fixes incorrect results that you might encounter when you use the contained availability group (AG) and remove plans for a specific object by altering it from either a contained AG or non-contained AG connection. When you make changes from a contained AG or non-contained AG connection, the other connection continues to use the old plan for the altered object until it's manually removed from the plan cache. | SQL Server Engine | Programmability | All|
4848
| <a id=2696108>[2696108](#2696108) </a> | Removes unnecessary log messages written to the SQL Server error log by the `sys.sp_flush_ct_internal_table_on_demand` stored procedure.| SQL Server Engine | Replication | All|

0 commit comments

Comments
 (0)