Skip to content

Sync broken after syncstorage-rs-mysql-0.18.3-20250526T064429 #13

@simpz

Description

@simpz

Hi

Every build after 0.18.3-20250526T064429 (i.e. this is the last working one) doesn't sync properly. The symptoms are slightly hard to fathom, some devices will just stop syncing other will lose history. The main consistent failure mode (and how I first noticed it) was new devices (or profile) seem to just stay unsync'd no history or bookmarks (but they do weirdly seem to sync synced tabs).

I even started with a blank syncserver DBs (both DBs) today and the latest build syncstorage-rs-mysql-0.18.3-20250623T064642, existing browsers seems to mostly sync up except one, and I setup a new profile on that. As ever that just failed to sync bookmarks and history. On this new profile I stepped back through syncstorage builds and restarted my container with this, and just hit "synchronize now" in the broken browser (no restart or anything of the Firefox). Nothing happened until I hit 0.18.3-20250526T064429, then it sprang instantly back into life and sync'd everything up.

I'm amazed no one else has seen this.

The log doesn't say much on the broken sync

Jun 23 22:12:21 syncsrv syncstorage-rs[660989]: {"Type":"glean-server-event","Fields":{"document_namespace":"syncstorage","document_type":"events","document_version":
"1","document_id":"81234cd8-cd7d-406f-af6f-6e87b12355aa","user_agent":"Firefox/128.11.0 (Linux x86_64) FxSync/1.130.0.20250519114620.desktop","ip_address":"","payload
":"{\"client_info\":{\"telemetry_sdk_build\":\"glean_parser v15.0.2.dev17+g81fec69a\",\"first_run_date\":\"Unknown\",\"os\":\"Unknown\",\"os_version\":\"Unknown\",\"a
rchitecture\":\"Unknown\",\"app_build\":\"Unknown\",\"app_display_version\":\"0.18.3\",\"app_channel\":\"dev\"},\"ping_info\":{\"seq\":0,\"start_time\":\"2025-06-23T2
1:12:21.663208722+00:00\",\"end_time\":\"2025-06-23T21:12:21.663208722+00:00\"},\"metrics\":{\"string\":{\"syncstorage.hashed_fxa_uid\":\"aaab13742ddefb46fc3536f45c92
aaaa\",\"syncstorage.hashed_device_id\":\"1123c923ed2f2f0bf494742a43aaab54\",\"syncstorage.device_family\":\"desktop\",\"syncstorage.platform\":\"firefoxdesktop\"}},\
"events\":[{\"category\":\"syncstorage\",\"name\":\"get_collections\",\"timestamp\":1750713141663,\"extra\":{}}]}"}}
Jun 23 22:12:21 syncsrv syncstorage-rs[660989]: Jun 23 21:12:21.663 INFO {"ua.os.ver":"UNKNOWN","ua.os.family":"Linux","uri.method":"GET","ua.name":"Firefox","ua.brow
ser.ver":"128.11.0","ua":"128.11.0","uri.path":"/1.5/4/info/collections","ua.browser.family":"Firefox"}
Jun 23 22:12:21 syncsrv syncstorage-rs[660989]: Jun 23 21:12:21.666 INFO {"uri.method":"GET","ua.browser.family":"Firefox","ua.name":"Firefox","ua.os.ver":"UNKNOWN","
ua.browser.ver":"128.11.0","ua":"128.11.0","uri.path":"/1.5/4/info/configuration","ua.os.family":"Linux"}
Jun 23 22:12:21 syncsrv syncstorage-rs[660989]: Jun 23 21:12:21.671 INFO {"uri.path":"/1.5/4/storage/clients?full=1&limit=1000","ua.os.family":"Linux","ua.browser.ver
":"128.11.0","ua.name":"Firefox","ua":"128.11.0","ua.os.ver":"UNKNOWN","uri.method":"GET","ua.browser.family":"Firefox"}
Jun 23 22:12:21 syncsrv syncstorage-rs[660989]: Jun 23 21:12:21.686 INFO {"ua.browser.family":"Firefox","ua.browser.ver":"128.11.0","ua.name":"Firefox","ua.os.ver":"U
NKNOWN","uri.method":"GET","uri.path":"/1.5/4/storage/passwords?full=1&limit=1000","ua.os.family":"Linux","ua":"128.11.0"}

My setup is pretty bog standard with using Mozilla for authentication.
MAX_USERS=1200
Any thoughts or what changed after 0.18.3-20250526T064429 , that might explain this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions