Page MenuHomePhabricator

Keep Track Of Last Revision Score Event Time
Closed, ResolvedPublic3 Estimated Story Points

Description

When Revision Score events are processed, I want to make sure that I keep track last processed event time so I can know where I've left of in case of redeployment.

Notes:

  1. Last event time should be saved into Redis with key stream/revision-score

Event Timeline

AnnaMikla set the point value for this task to 5.Aug 5 2021, 2:18 PM

Timestamp for the stream/revision-score differs with the rest keys
For example:
2021-08-31T13:22:55.957Z - Key: stream/revision-score
2021-08-31T13:24:07Z - stream/revision-create

Tim.abdullin changed the point value for this task from 5 to 1.Sep 1 2021, 4:04 PM
Tim.abdullin changed the point value for this task from 1 to 3.Sep 1 2021, 4:06 PM

Checked everything on event-brindge side - it's not it. Looks like there is some issue in event stream client. Investigating.

@Anna.bondar @Tim.abdullin it is not an issue at all.

Wikimedia original streams send different formats.

Stream mediawiki.revision-create does not send milliseconds

Screen Shot 2021-09-02 at 4.40.03 PM.png (976×2 px, 357 KB)

Stream mediawiki.revision-score send milliseconds

Screen Shot 2021-09-02 at 4.37.22 PM.png (976×2 px, 363 KB)

@Anna.bondar this difference does not affect the logic. I would say it is normal.

P.S.: good catch by the way

Discussed details with @Anna.bondar

Moving the task to Done.