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] Bugfix: Event publisher not starting for second run Recorder::Record() after Stop() (backport #1888) #1890

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Dec 30, 2024

This PR fixes a bug when the event publisher thread, which is responsible for publishing on_bag_split_event events, doesn't start when calling Recorder::Record() after a previous call to Recorder::Stop().

RCA: The event publisher thread was starting and exiting immediately because event_publisher_thread_should_exit_ was not initialized to false after calling the Recorder::Stop() API.


This is an automatic backport of pull request #1888 done by Mergify.

@mergify mergify bot requested a review from a team as a code owner December 30, 2024 02:45
@mergify mergify bot requested review from MichaelOrlov and hidmic and removed request for a team December 30, 2024 02:45
@MichaelOrlov MichaelOrlov changed the title Bugfix: Event publisher not starting for second run Recorder::Record() after Stop() (backport #1888) [jazzy] Bugfix: Event publisher not starting for second run Recorder::Record() after Stop() (backport #1888) Dec 30, 2024
@MichaelOrlov
Copy link
Contributor

Pulls: #1890
Gist: https://gist.githubusercontent.com/MichaelOrlov/c5eba8a349026f8e50217089e25cf650/raw/62ee32ec0b10860023bb6480c47d0facf1ec6e17/ros2.repos
BUILD args: --packages-above-and-dependencies rosbag2_transport
TEST args: --packages-above rosbag2_transport
ROS Distro: jazzy
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15096

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

@MichaelOrlov
Copy link
Contributor

  • Re-run Linux CI build
    • Linux Build Status

@MichaelOrlov MichaelOrlov merged commit 4375198 into jazzy Jan 28, 2025
12 checks passed
@MichaelOrlov MichaelOrlov deleted the mergify/bp/jazzy/pr-1888 branch January 28, 2025 01:11
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.

1 participant