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

Full re-sync should run as a periodic job #17

Open
lunkwill42 opened this issue Jun 25, 2024 · 0 comments
Open

Full re-sync should run as a periodic job #17

lunkwill42 opened this issue Jun 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lunkwill42
Copy link
Member

nav-argus-glue only performs a full sync at startup (or specifically when called with a command line option). After the full sync, the glue service only sends event changes as they come in from the event engine.

However, NAV and Argus will sometimes still get out of sync, in at least two different scenarios:

  1. Sometimes, a request to Argus may fail, and there is currently no retry mechanism. The update will get lost.
  2. When a user closes a NAV alert through the UI, there is actually no closing event sent processed by the event engine (the alerthist database entry is modified directly). This type of closing-action will not trigger the glue service to update Argus.

If the full sync operation were run periodically while navargus is waiting for events, these issues could be mitigated.

@lunkwill42 lunkwill42 added the enhancement New feature or request label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant