Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不再自动从临时文件中恢复数据文件 #7260

Closed
88250 opened this issue Feb 5, 2023 · 0 comments
Closed

不再自动从临时文件中恢复数据文件 #7260

88250 opened this issue Feb 5, 2023 · 0 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Feb 5, 2023

写入文件时如果失败会保留临时文件 xxxx.tmp,后续如果主文件解析失败则产生从临时文件恢复,这个是 v1.2.5 引入的 #2571

经过一年多的观察,这个机制实际上没有作用,因为目前已经可以通过文件历史或者数据快照进行恢复,比这个机制更可靠。这个机制在某些情况下(比如使用第三方实时同步盘后写入文件失败)会导致数据自动回滚,给用户带来困扰,所以我们考虑将其移除。

@88250 88250 added this to the 2.7.3 milestone Feb 5, 2023
@88250 88250 self-assigned this Feb 5, 2023
@88250 88250 closed this as completed Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant