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

additional configurable logic to handle out of order messages #1039

Merged
merged 3 commits into from Mar 31, 2023

Conversation

rex-schilasky
Copy link
Contributor

@rex-schilasky rex-schilasky commented Mar 30, 2023

Pull request type

  • Feature

What is the current behavior?
Messages may arrive out of order under certain conditions. This is not handled currently.

Issue Number: #986

What is the new behavior?
Based on a new, experimental configuration flag drop_out_of_order_messages the eCAL core can handle out of order messages in 2 different ways:

  1. ignore order and forward the message to the matching subscriber (issue will logged as warning)
  2. ignore the message, interrupt the forwarding

The default behavior is 1.

Does this introduce a breaking change?

  • No

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

// this event has been fired with the message before

// do not process it
return false;
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr]

          return false;
                 ^

@rex-schilasky rex-schilasky merged commit 45b202f into master Mar 31, 2023
15 checks passed
@rex-schilasky rex-schilasky deleted the feature/out-of-order-messages-2 branch March 31, 2023 15:26
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.

None yet

1 participant