GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — fix(adonet): prevent provider query races by ReubenBond · Pull Request #10505 · dotnet/orleans Conversation
|
| File | Description |
|---|---|
| src/AdoNet/Orleans.Streaming.AdoNet/SQLServer-Streaming.sql | Adds table hints to reduce deadlocks and improve concurrency for message dequeue and eviction batches. |
| src/AdoNet/Orleans.GrainDirectory.AdoNet/MySQL-GrainDirectory.sql | Adds SELECT ... FOR UPDATE in RegisterGrainActivation to prevent concurrent unregister from causing an empty/incorrect registration read. |
Tip
Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
src/AdoNet/Orleans.Streaming.AdoNet/SQLServer-Streaming.sql:579
READCOMMITTEDLOCK is redundant here because SQL Server ignores READCOMMITTEDLOCK (and READCOMMITTED) when UPDLOCK is specified, which makes the locking strategy less clear without changing behavior. Consider dropping it and keeping UPDLOCK, READPAST, ROWLOCK. OrleansStreamMessage WITH (UPDLOCK, READPAST, READCOMMITTEDLOCK, ROWLOCK)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Use skip-locked row-level reads for SQL Server stream batches and a locking current read for MySQL grain registration. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 599d20d0-2788-40b3-bab7-f793133c3bf7
Keep READCOMMITTEDLOCK for READPAST compatibility and remove the mutually exclusive ROWLOCK hint from skip-locked scans. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 599d20d0-2788-40b3-bab7-f793133c3bf7
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
2454a12 to
c77f93d
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Flaky test: ADO.NET chaos tests fail intermittently across providers
There was an error while loading. Please reload this page.