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

Some backports to 0.10.x #1778

Conversation

eboasson
Copy link
Contributor

This backports

As well as #1767 to get the CI back to life (though that bit is not quite done yet, but at least no longer Conan-related)

It also bumps the version number to 0.10.4, I expect that doing a further patch release would appreciated.

eboasson and others added 5 commits July 21, 2023 10:23
Backport of 718e747 minus the test code.

It is incorrect to assert that payload should be at least 16 bytes large
in for the "pserop" sertype.  That condition is only valid if the topic
is keyed, because it only supports keys that are exactly 16 bytes large.

Instead, for an unkeyed topic, anything size is plausible and it is the
deserializer that rejects malformed input.

Signed-off-by: Erik Boasson <[email protected]>
When setting a listener, any pending (i.e. unhandled) event received before would not result in an immediate callback.
Now the set_listener call also checks for pending events, and invokes the registered callbacks when appropriate.
This fix is a prerequisite for #eclipse-cyclonedds/cyclonedds-cxx#410

Signed-off-by: Erik Hendriks <[email protected]>
* Add a "writer batching" QoS

This adds a QoS setting to control whether or not a writer does batching
without any (possible) dependency on asynchronous publications.
Batching means small samples get combined in a single RTPS message,
improving performance.

This message only gets sent automatically when it is full, and if it is
important that the preceding samples are actually sent, then the
application code must explicitly flush the batch by call `dds_flush`.

Signed-off-by: Erik Boasson <[email protected]>

* Better documentation

Signed-off-by: Erik Boasson <[email protected]>

---------

Signed-off-by: Erik Boasson <[email protected]>
Signed-off-by: Erik Boasson <[email protected]>
@trittsv
Copy link
Contributor

trittsv commented Jul 21, 2023

Please see my comment in eclipse-cyclonedds/cyclonedds-cxx#433
which applies for this PR too 😃
In short, our unit tests run successfully, pending events seems to be fixed and compiles for a loooot of platforms.

@eboasson eboasson merged commit 1be07de into eclipse-cyclonedds:releases/0.10.x Aug 28, 2023
12 of 17 checks passed
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.

3 participants