Closed Bug 1611168 Opened 6 years ago Closed 6 years ago

Some sync pings being rejected due to null devices.version

Categories

(Data Platform and Tools :: General, defect, P1)

defect
Points:
2

Tracking

(Not tracked)

RESOLVED FIXED

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.

: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?

Flags: needinfo?(loines)
Whiteboard: [data-platform-health]

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?

Flags: needinfo?(loines) → needinfo?(markh)
Whiteboard: [data-platform-health] → [data-quality]

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.

Flags: needinfo?(markh)
Assignee: nobody → jklukas
Points: --- → 2
Priority: -- → P1

The next schema deploy should pick up this change and we should start seeing records flow through to sync_v4 containing null device version.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Whiteboard: [data-quality] → [dataquality]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: