Skip to content

Commit d646a68

Browse files
authored
Merge pull request #8854 from MicrosoftDocs/main
Auto push to live 2025-05-01 18:07:06
2 parents fc20c45 + 3de7e3e commit d646a68

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

support/sql/releases/includes/patching-error-2019.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 2019 CU27 introduced fix [2994446](../sqlserver-2019/cumulativeupdate27.md#2994446) 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 2019 CU27 introduced fix [2994446](../sqlserver-2019/cumulativeupdate27.md#2994446) 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 [2994446](../sqlserver-2019/cumulativeupdate27.md#2994446). 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/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-2019/cumulativeupdate27.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Cumulative update 27 for SQL Server 2019 (KB5037331)
33
description: This article contains the summary, known issues, improvements, fixes and other information for SQL Server 2019 cumulative update 27 (KB5037331).
4-
ms.date: 01/29/2025
4+
ms.date: 04/30/2025
55
ms.custom: sap:Installation, Patching, Upgrade, Uninstall, evergreen, KB5037331
66
ms.reviewer: v-qianli2
77
appliesto:
@@ -33,7 +33,7 @@ This issue is fixed in [SQL Server 2019 CU28](cumulativeupdate28.md#3312461).
3333

3434
[!INCLUDE [av-sesssion-context-2019](../includes/av-sesssion-context-2019.md)]
3535

36-
### Issue three: Patching error for secondary replicas in an availability group with databases enabled replication, CDC, or SSISDB
36+
### Issue three: Patching error for secondary replicas in an availability group with databases enabled replication or CDC
3737

3838
[!INCLUDE [patching-error-2019](../includes/patching-error-2019.md)]
3939

support/sql/releases/sqlserver-2019/cumulativeupdate28.md

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

2828
[!INCLUDE [av-sesssion-context-2019](../includes/av-sesssion-context-2019.md)]
2929

30-
### Issue two: Patching error for secondary replicas in an availability group with databases enabled replication, CDC, or SSISDB
30+
### Issue two: Patching error for secondary replicas in an availability group with databases enabled replication or CDC
3131

3232
[!INCLUDE [patching-error-2019](../includes/patching-error-2019.md)]
3333

support/sql/releases/sqlserver-2019/cumulativeupdate29.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Cumulative update 29 for SQL Server 2019 (KB5046365)
33
description: This article contains the summary, known issues, improvements, fixes and other information for SQL Server 2019 cumulative update 29 (KB5046365).
4-
ms.date: 10/31/2024
4+
ms.date: 04/30/2024
55
ms.custom: sap:Installation, Patching, Upgrade, Uninstall, evergreen, KB5046365
66
ms.reviewer: v-qianli2
77
appliesto:
@@ -45,7 +45,7 @@ For more information about the bugs that are fixed and enhancements that are inc
4545
| <a id=3539961>[3539961](#3539961) </a> | Fixes an issue in which database striped backups using virtual device interface (VDI) tools might fail to restore with [error 3456](../../database-engine/backup-restore/backup-multistriped-vdi-issue.md). | SQL Server Engine| Backup Restore| All |
4646
| <a id=3287653>[3287653](#3287653) </a> | Fixes an assertion failure (Location: ListenerSpec.cpp:480; Expression: totalUsed + cbListenerName <= cbObj) that you encounter when creating a [distributed availability group (DAG)](/sql/database-engine/availability-groups/windows/distributed-availability-groups) and incorrectly specifying the number of availability groups in it to be other than two. | SQL Server Engine| High Availability and Disaster Recovery | All|
4747
| <a id=3407955>[3407955](#3407955) </a> | Fixes an issue in which a log backup stops responding on the primary replica after the secondary replica restarts if no additional workloads exist on the primary database. | SQL Server Engine| High Availability and Disaster Recovery | All|
48-
| <a id=3418490>[3418490](#3418490) </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 two of SQL Server 2019 CU28](cumulativeupdate28.md#issue-two-patching-error-for-secondary-replicas-in-an-availability-group-with-databases-enabled-replication-cdc-or-ssisdb) or [known issue three of SQL Server 2019 CU27](cumulativeupdate27.md#issue-three-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|
48+
| <a id=3418490>[3418490](#3418490) </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 two of SQL Server 2019 CU28](cumulativeupdate28.md#issue-two-patching-error-for-secondary-replicas-in-an-availability-group-with-databases-enabled-replication-or-cdc) or [known issue three of SQL Server 2019 CU27](cumulativeupdate27.md#issue-three-patching-error-for-secondary-replicas-in-an-availability-group-with-databases-enabled-replication-or-cdc). | SQL Server Engine| High Availability and Disaster Recovery | Windows|
4949
| <a id=3336595>[3336595](#3336595) </a> | Adds a validation for the `MODEL` parameter when running `PREDICT` to avoid errors due to the input of wrong models.| SQL Server Engine| Query Execution | All |
5050
| <a id=3362873>[3362873](#3362873) </a> | Fixes an issue with checkpoint operation in which the following error 2601 occurs when SQL Server tries to perform a checkpoint operation on the database that has change tracking enabled: </br></br>\<DateTime> Error: 2601, Severity: 14, State: 1. </br>\<DateTime> Cannot insert duplicate key row in object '\<ObjectName>' with unique index '\<IndexName>'. The duplicate key value is \<KeyValue>. | SQL Server Engine| Replication | All|
5151
| <a id=3419782>[3419782](#3419782) </a> | Allows you to disable [OLE DB streaming](/sql/relational-databases/replication/agents/replication-distribution-agent) by passing `-UseOledbStreaming 0` for the Replication Distribution Agent to avoid the error mentioned in [Error message when you run the Distribution Agent in SQL Server](../../database-engine/replication/error-run-distribution-agent.md). | SQL Server Engine| Replication | All|

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)