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

[jazzy] Add cli option compression-threads-priority (backport #1768) #1778

Merged
merged 1 commit into from
Aug 10, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Aug 9, 2024

This PR adds --compression-threads-priority CLI parameter for the ros2 bag record command to be able to set up compression threads priority.

@mergify mergify bot requested a review from a team as a code owner August 9, 2024 19:17
@mergify mergify bot requested review from emersonknapp and james-rms and removed request for a team August 9, 2024 19:17
@MichaelOrlov MichaelOrlov changed the title Add cli option compression-threads-priority (backport #1768) [jazzy] Add cli option compression-threads-priority (backport #1768) Aug 9, 2024
@MichaelOrlov
Copy link
Contributor

Note: There are no API/ABI breaking changes. Only ABI breaking changes in test, but is is ok since we don't guarantee API/ABI compatibility for tests.
It is ok to merge it on jazzy.

* Add cli option compression-threads-priority

Signed-off-by: Roman Sokolkov <[email protected]>

* Fix CI issues

Signed-off-by: Roman Sokolkov <[email protected]>

* Add timeout for the test_priority_propagated_into_compression_thread

Signed-off-by: Michael Orlov <[email protected]>

* Update help section and doxygen comments for thread priority parameters

Signed-off-by: Michael Orlov <[email protected]>

* Use integer type for compression threads priority default value in tests

- Rationale: To test the same behavior as in the writer factory class

Signed-off-by: Michael Orlov <[email protected]>

---------

Signed-off-by: Roman Sokolkov <[email protected]>
Signed-off-by: Michael Orlov <[email protected]>
Co-authored-by: Michael Orlov <[email protected]>
(cherry picked from commit 25c3e1c)
@MichaelOrlov
Copy link
Contributor

Rebased on top latest Jazzy to get fixes for CI failures.

@MichaelOrlov
Copy link
Contributor

Pulls: #1778
Gist: https://gist.githubusercontent.com/MichaelOrlov/2a50f6b2f7084f911fa6be2df4eaa331/raw/8a1afd39f446a9fd9e27eea7559af49ba0f19815/ros2.repos
BUILD args: --packages-above-and-dependencies rosbag2_compression ros2bag rosbag2_transport rosbag2_py
TEST args: --packages-above rosbag2_compression ros2bag rosbag2_transport rosbag2_py
ROS Distro: jazzy
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14399

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@MichaelOrlov
Copy link
Contributor

@ros-pull-request-builder retest this please

@MichaelOrlov MichaelOrlov merged commit 1a5ba7a into jazzy Aug 10, 2024
12 checks passed
@mergify mergify bot deleted the mergify/bp/jazzy/pr-1768 branch August 10, 2024 00:50
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.

2 participants