-
Notifications
You must be signed in to change notification settings - Fork 0
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
Incremental config update limitations #226
Comments
If two users update the same configuration at the same time, one should get a conflict and need to re-submit. This is no reason to increase precision on the timestamp values. |
Though, in case it's not possible to differentiate between new and updated entries (which is the case), it is... |
Indeed!
Now, if an insertion is slow enough and/or clocks are just a bit out of sync (e.g CockroachDB allows +-7ms), two config updates which differ only by 1-2 ms could be inserted out of order, so that one gets lost:
Suggestion
This way, rows updated later will always have a greater changed_at. |
Event rule
changed_at
flag to be updated for all other escalations.changed_at
.The
changed_at
columnOn_ASSEMBLE_INSERT / ON_ASSEMBLE_UPDATE
events handle thechanged_at
column #227)The text was updated successfully, but these errors were encountered: