Skip to content

改进某些情况下数据下载解密失败问题 #4115

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

Closed
88250 opened this issue Feb 27, 2022 · 0 comments
Closed

改进某些情况下数据下载解密失败问题 #4115

88250 opened this issue Feb 27, 2022 · 0 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Feb 27, 2022

同步下载数据时如果出现网络闪断、进程崩溃和设备掉电等特殊情况时会导致落盘数据不完整,进而导致解密失败。

将数据落盘写入实现改进为安全写入(写临时文件后再重命名),这样能保障下载数据的完整性。

@88250 88250 added this to the 1.8.5 milestone Feb 27, 2022
@88250 88250 self-assigned this Feb 27, 2022
@88250 88250 closed this as completed Feb 27, 2022
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