microsoft / microsoft/sqlmanagementobjects
"Model" database size is read by transfer when not creating a database.
未关闭
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 143
- 派生
- 28
- PR 合并指标
- 30 天内没有已合并 PR
描述
When using the Transfer object to clone a database catalog into an existing empty database, DataTransferBase invokes SetTargetServerInfoAndGetModelSize() and reads the size of the "model" database. This is unnecessary and actually unwanted due to the fact that this seems to place an exclusive lock on the "model" database.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 Transfer 流程开始,跟踪 DataTransferBase 对 SetTargetServerInfoAndGetModelSize() 的调用。确认克隆到现有的空数据库时为何会读取模型数据库,以及这是否会产生不必要的排他锁。Issue 未指定源文件或测试;完成标准是此场景中不再发生不必要的模型大小读取。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- databases
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100