Skip to content

RM-9724 Add FocrceSeek to lockstatment for Batched Sql queries - #1446

Open
dkudernatsch wants to merge 2 commits into
developfrom
bugfix/RM-9724
Open

RM-9724 Add FocrceSeek to lockstatment for Batched Sql queries#1446
dkudernatsch wants to merge 2 commits into
developfrom
bugfix/RM-9724

Conversation

@dkudernatsch

Copy link
Copy Markdown
Contributor

No description provided.

@dkudernatsch dkudernatsch self-assigned this Aug 17, 2026
{
var selectColumns = string.Join(", ", columns.Select(c => $"{parameterAlias}.{c}"));
var joinCondition = string.Join(" AND ", columns.Select(c => $"{parameterAlias}.{c} = {tableAlias}.{c}"));
var tableHints = forReadCommittedIsolation ? "ROWLOCK, XLOCK, READPAST" : "ROWLOCK, XLOCK";

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.

I think we should update the Lock_DoesNotWaitToFail_ForOtherTransaction_WithIsolationLevel_ReadCommitted to use more than two Tasks and possibly switch from Task to Thread. It doesn't have to be in this PR but it would be correct and helpful to demonstrate the issue. If not done here, we need a follow-up task.

@MichaelKetting MichaelKetting left a comment

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.

See comment about test. Please do a rebase on top of devleop to get rid of the forward merge. Note: I updated the branch rules to enforce a title. Not sure if this breaks force push for the current branch. During Merge, it's possible github allows a custom message. if so, please amend the branchname printed inthe commit message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants