Some sync pings being rejected due to null devices.version
Categories
(Data Platform and Tools :: General, defect, P1)
Tracking
(Not tracked)
People
(Reporter: klukas, Assigned: klukas)
References
Details
(Whiteboard: [dataquality])
Attachments
(1 file)
While investigating https://bugzilla.mozilla.org/show_bug.cgi?id=1610907 I found that we get about 10k sync pings per day that go to errors due to the following:
org.everit.json.schema.ValidationException: #/payload/syncs/0/devices/0/version: expected type: String, found: Null
It looks like generally, when we have null for version we also have null for os.
| Assignee | ||
Comment 1•6 years ago
|
||
:loines - Do you know who can give input about the impact of these rejected pings and whether we should update the schema to allow null values?
Comment 2•6 years ago
|
||
I think we can probably make version and os nullable but confirming with mark - would we expect the client to not set these values in some circumstances?
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Yes, version and os will be null if the device doesn't sync (ie, is "just" an fxa device) - it's even possible, but less likely, they will be null if they do sync.
Comment 4•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 5•6 years ago
|
||
The next schema deploy should pick up this change and we should start seeing records flow through to sync_v4 containing null device version.
| Assignee | ||
Updated•6 years ago
|
Updated•3 years ago
|
Description
•