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

463 when an other ker is unavailable the current ker should not log a lot of completionexceptions caused by contacting it anyway #481

Conversation

bnouwt
Copy link
Collaborator

@bnouwt bnouwt commented Feb 16, 2024

No description provided.

bnouwt added 10 commits January 23, 2024 21:00
Done:
- remove unnecessary exceptions from log
- make logging smarter/more comprihensible
- introduce different timeouts
Done:
- remove unnecessary exceptions from log
- make logging smarter/more comprihensible
- introduce different timeouts
…ould-not-log-a-lot-of-completionexceptions-caused-by-contacting-it-anyway' of [email protected]:TNO/knowledge-engine.git into 463-when-an-other-ker-is-unavailable-the-current-ker-should-not-log-a-lot-of-completionexceptions-caused-by-contacting-it-anyway
Done:
- introduced configurable timeout for how long to wait for other KBs
- when a KER becomes unavailable, its SCs are no longer taken into
account when exchanging data.
- when querying the KD, we now also manage unavailable KERs to make sure
when they come available again, they are taken into account again.
- included the new configuration ENVIRONMENT VARAIBLE in the readme.
Issue was:
- when we first start our communication, other KERs do not know our KBs
yet when we send them a message to announce ourselves.
- when we first let other KERs know, our communication is not yet
started when we receive (and want to reply) to messages from other KERs.

The current version is that we do not immediately send a message to
another KER when it contacts us, but we wait for it to announce itself.
However, not sure whether this actually works in all scenario's, so we
need to test this further or think about it further.
Also:
- remove some unnecessary http configuration.
…urrent-ker-should-not-log-a-lot-of-completionexceptions-caused-by-contacting-it-anyway
Updated version, but remember to update it to 1.2.4 when releasing.
It now waits with populating and informing other KERs until the
communication is ready.

Also:
- fixed/improved unit tests
@bnouwt bnouwt merged commit 4e8e41f into master Feb 27, 2024
1 check passed
@bnouwt bnouwt deleted the 463-when-an-other-ker-is-unavailable-the-current-ker-should-not-log-a-lot-of-completionexceptions-caused-by-contacting-it-anyway branch February 27, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant