Fix/move tab stored procedures to avoid concurrency issues#6633
Merged
valadas merged 3 commits intodnnsoftware:developfrom Jul 29, 2025
Merged
Fix/move tab stored procedures to avoid concurrency issues#6633valadas merged 3 commits intodnnsoftware:developfrom
valadas merged 3 commits intodnnsoftware:developfrom
Conversation
Contributor
|
10.0.1 is already released though so we need to target 10.0.2 or 10.1.0 (the next release will probably be 10.1.0 as we do have technically features merged in). |
Contributor
Author
I updated it to target 10.1.0 instead |
mitchelsellers
approved these changes
Jul 29, 2025
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes issue #6384
Code Change Summary
Overview
Added SERIALIZABLE transaction isolation to three MovePage stored procedures in
10.01.00.SqlDataProviderto prevent race conditions that could create duplicate TabOrder values.Files Modified
DNN Platform/Website/Providers/DataProviders/SqlDataProvider/10.01.00.SqlDataProviderChanges Made
1. Transaction Isolation Level
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE2. Explicit Transaction Management
3. Error Handling
Procedures Updated
Key Benefits
Impact
Test Results
Screenshot showing initial database state with proper TabOrder sequencing
Console output showing test execution under sequential conditions
Screenshot showing database maintains proper TabOrder uniqueness after sequential execution
Console output showing test execution under concurrent conditions demonstrating race condition. The other 2 conflicting operations are rejected by the database.
Screenshot showing no duplicate TabOrder values created by concurrent execution