SnapCenter SQL资源发现失败,出现"DbUpdateConcurrencyException"错误
适用于
- SnapCenter 服务器 (SC)
- SnapCenter Microsoft SQL Server 插件(SCSQL)
问题
- 在 SnapCenter 中进行 SQL 主机资源发现期间,在 SnapManagerWeb.log 中观察到以下错误:
ERROR SnapManagerWeb_xxxxx PID=[xxxx] TID=[xx] Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: The database operation was expected to affect 1 row(s), but actually affected 0 row(s); data may have been modified or deleted since entities were loaded. See https://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions.
- 尝试通过标准 SnapCenter UI 和 PowerShell 命令删除受影响的资源组和备份无法解决此问题。资源发现继续失败,并显示相同的错误。