Oh
I can’t go back further than 12:06:40
hold on, let me recreate the entire thing and look asap
I was asking because we dedupe events using the fileID
and the headers["x-goog-message-number"]
field:
${fileId}-${headers["x-goog-message-number"]}
So if the headers["x-goog-message-number"]
is different for the two events then Google is sending the same exact event twice
Couldn’t recreate this time.
- Deleted a file.
- Waited 1 second.
- Uploaded the file.
1 event generated:
FYI your endpoint is exposed in the screenshot
Sigh. Never easy
So as it stands with this last run…only 1 event was generated
after deleting, then re-uploading
I’ll try another.
Ok. I’m looking at the logs
That time I waited 4-5 seconds…
just the 1 event generated
so i’m not sure about that first set of dupes:
But otherwise appears…fixed?
Hmm can’t be that easy
:shrug:
Ok so I see that there may be more than one page of changes with each request. But we use the same value for headers["x-goog-message-number"]
to dedupe. Maybe it’s better to use the timestamp of the change, but then again there were two events with the exact same timestamp