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

Flashcards are not allowed to be modified during data sync to avoid data overwriting #10167

Closed
3 tasks done
QQQOrange opened this issue Jan 13, 2024 · 11 comments
Closed
3 tasks done
Assignees
Milestone

Comments

@QQQOrange
Copy link

QQQOrange commented Jan 13, 2024

win端和安卓端混合复习情况下会导致当日已学习闪卡变成未学习状态

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

大概是上午学习了100张闪卡,同步后中午使用手机复习一段时间,手机端同步数据之后,电脑端发现已学习卡片变成未学习状态了

Expected result

希望修复

Screenshot or screen recording presentation

No response

Version environment

- Version: 2.12。2
- Operating System: 
- Browser (if used):

Log file

system-log.zip
8.3真理及其与价值的关系.sy.zip

More information

No response

@88250
Copy link
Member

88250 commented Jan 13, 2024

电脑端是不是一直开着闪卡间隔重复界面?

@QQQOrange
Copy link
Author

电脑端是不是一直开着闪卡间隔重复界面?

没有的 电脑关机了

@88250
Copy link
Member

88250 commented Jan 13, 2024

麻烦再上传一下各个端的日志,以便分析。

@QQQOrange
Copy link
Author

麻烦再上传一下各个端的日志,以便分析。

已传的是电脑端,补上手机端的

@QQQOrange
Copy link
Author

system-log.zip

麻烦再上传一下各个端的日志,以便分析。

已传的是电脑端,补上手机端的

麻烦再上传一下各个端的日志,以便分析。

@88250
Copy link
Member

88250 commented Jan 13, 2024

找到问题了,在 app 的日志上:

W 2024/01/13 11:14:32 diff.go:56: prevent old upsert left [6b1dd47327a5444c0a42de31df49cf245bacdd92, /storage/riff/20230218211946-2kw8jgx.deck, 2024-01-13 10:27:11] overwrite right [9dcacd6987067bba3e99562490bccdd0e7695a34, /storage/riff/20230218211946-2kw8jgx.deck, 2024-01-13 11:13:33]

说明在同步执行过程中使用了闪卡(制卡或者复习),这时同步还没有完成,导致 app 产生了新的数据变动所以覆盖了云端 10:27 的数据。

麻烦回忆一下当时使用的是制卡还是复习,谢谢。

@QQQOrange
Copy link
Author

找到问题了,在 app 的日志上:

W 2024/01/13 11:14:32 diff.go:56: prevent old upsert left [6b1dd47327a5444c0a42de31df49cf245bacdd92, /storage/riff/20230218211946-2kw8jgx.deck, 2024-01-13 10:27:11] overwrite right [9dcacd6987067bba3e99562490bccdd0e7695a34, /storage/riff/20230218211946-2kw8jgx.deck, 2024-01-13 11:13:33]

说明在同步执行过程中使用了闪卡(制卡或者复习),这时同步还没有完成,导致 app 产生了新的数据变动所以覆盖了云端 10:27 的数据。

麻烦回忆一下当时使用的是制卡还是复习,谢谢。

这个时间电脑没关,思源也是开着的,所以但是我记不清那个时候手机的思源开没开了

@88250
Copy link
Member

88250 commented Jan 13, 2024

和电脑关系不大,主要是 app 上同步的过程中使用了闪卡,但是我想知道是使用了制卡还是间隔重复。

@88250 88250 self-assigned this Jan 13, 2024
@88250 88250 added this to the 2.12.3 milestone Jan 13, 2024
@88250 88250 changed the title win端和安卓端混合复习情况下会导致当日已学习闪卡变成未学习状态 Flashcards are not allowed to be modified during data sync to avoid data overwriting Jan 13, 2024
@88250
Copy link
Member

88250 commented Jan 13, 2024

稍后我们会改进这个地方,在同步期间不允许制卡/取消制卡,以避免数据覆盖,感谢反馈。

@QQQOrange
Copy link
Author

和电脑关系不大,主要是 app 上同步的过程中使用了闪卡,但是我想知道是使用了制卡还是间隔重复。

制卡吧

@88250
Copy link
Member

88250 commented Jan 14, 2024 via email

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

2 participants