You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An excessive amount of queries can occur when an endpoint is scaled out.
Who's affected
You are affected if you have SQL Transport endpoints scaled out to multiple instances. The problem is exacerbated when the database has snapshot isolation enabled, which is the default in SQL Azure instances.
Root cause
The SQL Transport uses a peek query to get an idea for how many messages are available to be processed, which is more complex when multiple endpoint instances are competing to process the same message. The previous peek query would read uncommitted data and continuously fire queries to fetch new messages but not receive any new data because the data was not yet committed.
DavidBoike
changed the title
Queue peek reports messages available that are being processed by other instances
Excessive queries to fetch new messages when no messages are available to be processed
Feb 16, 2024
Symptoms
An excessive amount of queries can occur when an endpoint is scaled out.
Who's affected
You are affected if you have SQL Transport endpoints scaled out to multiple instances. The problem is exacerbated when the database has snapshot isolation enabled, which is the default in SQL Azure instances.
Root cause
The SQL Transport uses a peek query to get an idea for how many messages are available to be processed, which is more complex when multiple endpoint instances are competing to process the same message. The previous peek query would read uncommitted data and continuously fire queries to fetch new messages but not receive any new data because the data was not yet committed.
Fixes
master
release-7.0
to be released in version 7.0.5release-6.3
to be released in version 6.3.7See also
Select
queries #863The text was updated successfully, but these errors were encountered: