Skip to content

[17.0-rc][疑似平台] os migrate apply 对运行中服务正在使用的 SQLite 库缺少占用检测 #526

Description

@yinlianghui

现象

dev server 正在使用某个 SQLite 库时,对同一库执行 os migrate apply(含 replace_unique_index 等重建型变更)没有任何占用告警或拒绝。

CLI 与运行中服务并发改库存在文件被替换/状态分叉的风险(本次测试未实际复现数据损坏,属预防性反馈)。建议 CLI 检测库被占用时给出警告或要求 --force。

详见分支 upgrade/objectstack-17 的 docs/upgrade-17/test-report.md §3 P7。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingprio:p2Triaged backlog — no near-term scheduleupstream:objectstackBlocked on / caused by the ObjectStack platform — tracked upstream

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions