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

Split prefixtree recalculation indicator (fixes #610) #662

Merged
merged 1 commit into from
Oct 13, 2022
Merged

Split prefixtree recalculation indicator (fixes #610) #662

merged 1 commit into from
Oct 13, 2022

Conversation

leopoul
Copy link
Contributor

@leopoul leopoul commented Oct 12, 2022

Description of PR

What component(s) does this PR affect?

  • Back-End (Database, Detection/Configuration/etc. Microservices)
  • Front-End (Flask, API, UI, etc)
  • Monitor (RIPE RIS, BGPStream RV/RIS/CAIDA, etc.)
  • Docs
  • Build System

Does the PR require changes on other components? If yes, please mark the components:

  • Back-End (Database, Detection/Configuration/etc. Microservices)
  • Front-End (Flask, API, UI, etc)
  • Monitor (RIPE RIS, BGPStream RV/RIS/CAIDA, etc.)
  • Docs
  • Build System

Related Issue

Resolves #610

Solution

The issue hits whenever there is a config change while Artemis is running. It does not occur if one shuts down all containers and starts again.
It looks as if prefixtree remains stale for either v4 or v6 after changes. With this in mind I did a deep dig into prefixtree module. Here is what I found:

Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Docs update
  • None of the above

Checklist:

  • I have read the contributing guide and my code conforms to the guidelines.
  • This change requires a change in the documentation.
  • I have updated the documentation accordingly.

@gitpod-io
Copy link

gitpod-io bot commented Oct 12, 2022

Copy link
Member

@vkotronis vkotronis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent catch and fix, thanks @leopoul ! Can be merged.

@vkotronis vkotronis merged commit 39531bc into FORTH-ICS-INSPIRE:master Oct 13, 2022
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

Successfully merging this pull request may close these issues.

Changes in configuration have non-deterministic effect
2 participants