Skip to content

Commit e5a8a19

Browse files
author
Simonx Xu
authored
Merge pull request #8636 from MicrosoftDocs/UpdateKnownIssues_PijoCoder040225
Update CU articles with fix info for previously known issues
2 parents c06a684 + f6c599e commit e5a8a19

23 files changed

Lines changed: 37 additions & 101 deletions
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
ms.author: jopilov
3+
author: PiJoCoder
4+
ms.date: 04/02/2025
5+
ms.custom: sap:SQL resource usage and configuration (CPU, Memory, Storage), evergreen
6+
---
7+
8+
SQL Server 2019 CU14 introduced a fix [14307204](../sqlserver-2019/cumulativeupdate14.md#14307204) to [address wrong results in parallel plans returned by the built-in SESSION_CONTEXT](https://support.microsoft.com/help/5008114). However, this fix might create access violation dump files when the SESSION is reset for reuse. To mitigate this issue and avoid incorrect results, you can disable the original fix, and also disable the parallelism for the built-in `SESSION_CONTEXT`. To do this, use the following trace flags:
9+
10+
- 11042 - This trace flag disables the parallelism for the built-in `SESSION_CONTEXT`.
11+
12+
- 9432 - This trace flag disables the fix that was introduced in SQL Server 2019 CU14.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: JamesFerebee
44
ms.date: 08/20/2024
55
ms.custom: sap:Installation, Patching, Upgrade, Uninstall, evergreen
66
---
7-
SQL Server 2019 CU 27 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, 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.
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

@@ -26,4 +26,4 @@ If you want to prevent the patch from reporting an initial failure, you can perf
2626

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

29-
Microsoft is working on a fix for this issue and it will be available in a future CU.
29+
This issue is fixed in [SQL Server 2019 CU29](../sqlserver-2019/cumulativeupdate29.md#3418490).

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: JamesFerebee
44
ms.date: 08/20/2024
55
ms.custom: sap:Installation, Patching, Upgrade, Uninstall, evergreen
66
---
7-
SQL Server 2022 CU 13 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, 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.
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

@@ -26,4 +26,4 @@ If you want to prevent the patch from reporting an initial failure, you can perf
2626

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

29-
Microsoft is working on a fix for this issue and it will be available in a future CU.
29+
This issue is fixed in [SQL Server 2022 CU16](../sqlserver-2022/cumulativeupdate16.md#3418488).

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ After you install CU14, a parallel query that runs in batch mode might cause an
3232
3333
### Issue two
3434

35-
SQL Server 2019 CU14 introduced a [fix to address wrong results in parallel plans returned by the built-in SESSION_CONTEXT](https://support.microsoft.com/help/5008114). However, this fix might create access violation dump files when the `SESSION` is reset for reuse. To mitigate this issue and avoid incorrect results, you can disable the original fix, and also disable the parallelism for the built-in `SESSION_CONTEXT`. To do this, use the following trace flags:
36-
37-
- 11042 - This trace flag disables the parallelism for the built-in `SESSION_CONTEXT`.
38-
39-
- 9432 - This trace flag disables the fix that was introduced in SQL Server 2019 CU14.
35+
[!INCLUDE [av-sesssion-context-2019](../includes/av-sesssion-context-2019.md)]
4036

4137
## Improvements and fixes included in this update
4238

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ This article describes Cumulative Update package 15 (CU15) for Microsoft SQL Ser
2525

2626
### Access violation when session is reset
2727

28-
SQL Server 2019 CU14 introduced a [fix to address wrong results in parallel plans returned by the built-in SESSION_CONTEXT](https://support.microsoft.com/help/5008114). However, this fix might create access violation dump files when the `SESSION` is reset for reuse. To mitigate this issue and avoid incorrect results, you can disable the original fix, and also disable the parallelism for the built-in `SESSION_CONTEXT`. To do this, use the following trace flags:
29-
30-
- 11042 - This trace flag disables the parallelism for the built-in `SESSION_CONTEXT`.
31-
32-
- 9432 - This trace flag disables the fix that was introduced in SQL Server 2019 CU14.
28+
[!INCLUDE [av-sesssion-context-2019](../includes/av-sesssion-context-2019.md)]
3329

3430
## Improvements and fixes included in this cumulative update
3531

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ This article describes Cumulative Update package 16 (CU16) for Microsoft SQL Ser
2525

2626
### Access violation when session is reset
2727

28-
SQL Server 2019 CU14 introduced a [fix to address wrong results in parallel plans returned by the built-in SESSION_CONTEXT](https://support.microsoft.com/help/5008114). However, this fix might create access violation dump files when the `SESSION` is reset for reuse. To mitigate this issue and avoid incorrect results, you can disable the original fix, and also disable the parallelism for the built-in `SESSION_CONTEXT`. To do this, use the following trace flags:
29-
30-
- 11042 - This trace flag disables the parallelism for the built-in `SESSION_CONTEXT`.
31-
32-
- 9432 - This trace flag disables the fix that was introduced in SQL Server 2019 CU14.
28+
[!INCLUDE [av-sesssion-context-2019](../includes/av-sesssion-context-2019.md)]
3329

3430
## Improvements and fixes included in this update
3531

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ This article describes Cumulative Update package 17 (CU17) for Microsoft SQL Ser
2525

2626
### Access violation when session is reset
2727

28-
SQL Server 2019 CU14 introduced a [fix to address wrong results in parallel plans returned by the built-in SESSION_CONTEXT](https://support.microsoft.com/help/5008114). However, this fix might create access violation dump files when the `SESSION` is reset for reuse. To mitigate this issue and avoid incorrect results, you can disable the original fix, and also disable the parallelism for the built-in `SESSION_CONTEXT`. To do this, use the following trace flags:
29-
30-
- 11042 - This trace flag disables the parallelism for the built-in `SESSION_CONTEXT`.
31-
32-
- 9432 - This trace flag disables the fix that was introduced in SQL Server 2019 CU14.
28+
[!INCLUDE [av-sesssion-context-2019](../includes/av-sesssion-context-2019.md)]
3329

3430
## Improvements and fixes included in this update
3531

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ This article describes Cumulative Update package 18 (CU18) for Microsoft SQL Ser
2525

2626
### Access violation when session is reset
2727

28-
SQL Server 2019 CU14 introduced a [fix to address wrong results in parallel plans returned by the built-in SESSION_CONTEXT](https://support.microsoft.com/help/5008114). However, this fix might create access violation dump files when the `SESSION` is reset for reuse. To mitigate this issue and avoid incorrect results, you can disable the original fix, and also disable the parallelism for the built-in `SESSION_CONTEXT`. To do this, use the following trace flags:
29-
30-
- 11042 - This trace flag disables the parallelism for the built-in `SESSION_CONTEXT`.
31-
32-
- 9432 - This trace flag disables the fix that was introduced in SQL Server 2019 CU14.
28+
[!INCLUDE [av-sesssion-context-2019](../includes/av-sesssion-context-2019.md)]
3329

3430
## Improvements and fixes included in this update
3531

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ This article describes Cumulative Update package 19 (CU19) for Microsoft SQL Ser
2828

2929
### Issue one
3030

31-
SQL Server 2019 CU14 introduced a [fix to address wrong results in parallel plans returned by the built-in SESSION_CONTEXT](https://support.microsoft.com/help/5008114). However, this fix might create access violation dump files when the `SESSION` is reset for reuse. To mitigate this issue and avoid incorrect results, you can disable the original fix, and also disable the parallelism for the built-in `SESSION_CONTEXT`. To do this, use the following trace flags:
32-
33-
- 11042 - This trace flag disables the parallelism for the built-in `SESSION_CONTEXT`.
34-
35-
- 9432 - This trace flag disables the fix that was introduced in SQL Server 2019 CU14.
31+
[!INCLUDE [av-sesssion-context-2019](../includes/av-sesssion-context-2019.md)]
3632

3733
### Issue two
3834

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ This article describes Cumulative Update package 20 (CU20) for Microsoft SQL Ser
2525

2626
### Issue one
2727

28-
SQL Server 2019 CU14 introduced a [fix to address wrong results in parallel plans returned by the built-in SESSION_CONTEXT](https://support.microsoft.com/help/5008114). However, this fix might create access violation dump files when the `SESSION` is reset for reuse. To mitigate this issue and avoid incorrect results, you can disable the original fix, and also disable the parallelism for the built-in `SESSION_CONTEXT`. To do this, use the following trace flags:
29-
30-
- 11042 - This trace flag disables the parallelism for the built-in `SESSION_CONTEXT`.
31-
32-
- 9432 - This trace flag disables the fix that was introduced in SQL Server 2019 CU14.
28+
[!INCLUDE [av-sesssion-context-2019](../includes/av-sesssion-context-2019.md)]
3329

3430
### Issue two
3531

0 commit comments

Comments
 (0)