-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Sync thread sometime hangs #7986
Comments
I have experienced this issue few times. I was unable to relaunch the browser when this happened thus making Brave unusable.
cc @brave/legacy_qa |
Verification PASSED on
Once the change from brave/brave-core#4550 (comment) has been applied into Once the change from brave/brave-core#4550 (comment) has been reverted from Verification passed on
Verification passed on
Verified test plan from brave/brave-core#4550 |
The integration of chromium sync and brave sync relies on
syncer::Syncer
to tell js sync extension to poll or commit changes. The hanging happens when polling remote records.Sync thread will be blocked until new records or no records passed back to syncer
syncer->js sync extension (Block): https://github.com/brave/brave-core/blob/370057c4df9f726fe2a2c47c7f6672ee6488db02/chromium_src/components/sync/engine_impl/syncer.cc#L31
js extension->sync (Signal): https://github.com/brave/brave-core/blob/370057c4df9f726fe2a2c47c7f6672ee6488db02/components/brave_sync/brave_profile_sync_service_impl.cc#L569
I don't know the specific STR but when the hanging happens syncer and js sync extension are waiting for each other causing a deadlock.
When that happens,
cc @AlexeyBarabash @bridiver @jsecretan
The text was updated successfully, but these errors were encountered: