-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Order events by datetime instead of order
#663
Comments
The only downside I can think of for this is that we lose the ability to know if:
I think it's worth it though as it will:
I think carrying on using the |
I think on the basis that we don't ever, in practicality, actually do anything if we're missing messages, this is a small price to pay for a great simplification in an area where actually we've accumulated a lot of unnecessary complexity. So I'm all for this. |
I've realised that, for synchronous questions, "ordering by datetime" would in fact mean just handling the events in the order that pub/sub sends them in. This is because datetimes are continuous whereas the integer We'll try this without a pub/sub ordering key and add one if it becomes an issue. Asynchronous questions can still be ordered by datetime. |
Bug report
What is the current behavior?
When getting events, both the question and the first response event from the child have order zero, so we get a duplicate event warning and can only see one of those events.
What is the expected behavior?
We should be able to get the question and the first response with no warning.
Proposed Solution
Order events by datetime in the event handlers instead of the
order
attribute.The text was updated successfully, but these errors were encountered: