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

"userInfo.bulkPut(): 99 of 100 operations failed. Errors: AbortError: The transaction was aborted, so the request cannot be fulfilled." #159

Open
4 tasks done
eamd-wq opened this issue Mar 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@eamd-wq
Copy link

eamd-wq commented Mar 28, 2024

Describe the bug

userInfo.bulkPut() 是我存储用户信息的一个方法,业务中有离线功能 涉及大量的数据存储;
当前报错是因为我在做indexDB的存储时 被pageSpy打断了存储事务
我已通过 disabledPlugins 禁用了 DatabasePlugin 业务恢复正常

总用户数据有30000条左右,为了不阻塞主线程导致页面卡顿我将数据切位每100条为一份进行递归存储,所以存储周期较长;
在这期间可能被pageSpy的某个操作打断了存储

Steps to reproduce

No response

System Info

客户端环境:windows chrome浏览器 123版本
客户端环境2:android webview 103
服务端环境:centOS7.9中通过docker安装

Logs

No response

Validations

@eamd-wq eamd-wq added the bug Something isn't working label Mar 28, 2024
@wqcstrong
Copy link
Collaborator

wqcstrong commented Mar 29, 2024

麻烦搞一个复现 demo,PageSpy 服务可以用 https://pagespy.jikejishu.com

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

2 participants