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
* add isLeaseLocked into the getchanges query
* add log message
* add debug logging for row counts
* update log msg
* create a separate query for getting the locked rows
* update ver name
* update
* remove user table join
* unused var
* correct xml info
* address comments
* remove extra line
* dont throw
* Update src/TriggerBinding/SqlTableChangeMonitor.cs
Co-authored-by: Charles Gagnon <[email protected]>
---------
Co-authored-by: Charles Gagnon <[email protected]>
this._logger.LogDebug($"Executed GetChangesCommand in GetTableChangesAsync. {rows.Count} available changed rows ({leaseLockedRowCount} found with lease locks).");
316
+
}
309
317
// If changes were found, acquire leases on them.
310
318
if(rows.Count>0)
311
319
{
@@ -810,6 +818,51 @@ LEFT OUTER JOIN {this._userTable.BracketQuotedFullName} AS u ON {userTableJoinCo
this._logger.LogError($"Failed to query count of lease locked changes for table '{this._userTable.FullName}' due to exception: {ex.GetType()}. Exception message: {ex.Message}");
0 commit comments