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

[Bug] 产品定义错误,备份的数据在执行恢复时应该允许完全覆盖,而不是强制合并 #375

Open
2 tasks done
xkx6149 opened this issue Jan 26, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@xkx6149
Copy link

xkx6149 commented Jan 26, 2025

  • This issue is not duplicated with any other open or closed issues

  • Already read Q&A

Describe the bug

当取消收藏了一些难听的歌曲之后,手机A发起数据备份,手机B发起数据恢复,取消收藏的歌曲依然存在。

尽管目前提供了三种恢复方式,但总是会强制执行合并逻辑,即用本地数据与备份数据进行合并,取合集,导致无效数据永远无法被清除。

Expected behavior

“备份”和“恢复”的核心意义,是当灾难发生,或需要数据同步/回滚时,可以从备份数据中原封不动的还原所有数据,恢复还原到备份点的那一时刻。不应该将当前环境下的任何数据与备份数据进行合并。

参考字典释义:
恢复,汉语词语。拼音:huī fù。释义:使变成原来的样子。

故建议增加第 4 种恢复方式“清除并恢复”,并作为默认值,才能符合“备份&恢复”的基本定义。

Steps to reproduce

Device information

Screenshots

Image

Logs

No response

Additional context

No response

@xkx6149 xkx6149 added the bug Something isn't working label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant