Skip to content
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

Open
2 of 4 tasks
sukhwinder33445 opened this issue Jul 11, 2024 · 2 comments
Open
2 of 4 tasks

Incremental config update limitations #226

sukhwinder33445 opened this issue Jul 11, 2024 · 2 comments

Comments

@sukhwinder33445
Copy link
Contributor

sukhwinder33445 commented Jul 11, 2024

Event rule

  • Removing an event rule escalation causes the changed_at flag to be updated for all other escalations.
  • Adding/removing/updating a recipient causes the escalation and all its recipients to have a new changed_at.

The changed_at column

@nilmerg
Copy link
Member

nilmerg commented Jul 12, 2024

It should be precise to milliseconds in order to avoid a data race (daemon side), e.g. if two users update the data at the same time.

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.

@nilmerg
Copy link
Member

nilmerg commented Jul 15, 2024

It should be precise to milliseconds in order to avoid a data race (daemon side), e.g. if two users update the data at the same time.

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants