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

Don't preprocess a storage file more than once #895

Merged
merged 3 commits into from
Oct 27, 2021

Conversation

lihui815
Copy link
Contributor

Fixes exception on file-compression playback, which would try to decompress the already-decompressed file. Keeps track of already preprocessed files, and only preprocess the new ones.

Added regression test that fails without the fix.

Took over from #889

emersonknapp and others added 2 commits October 27, 2021 12:38
Fixes problem on file decompression, which would try to decompress the already-decompressed file

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Signed-off-by: Sonia Jin <diegothemuich@gmail.com>
@lihui815 lihui815 requested a review from a team as a code owner October 27, 2021 21:19
@lihui815 lihui815 requested review from zmichaels11, prajakta-gokhale and emersonknapp and removed request for a team, zmichaels11 and prajakta-gokhale October 27, 2021 21:19
Signed-off-by: Sonia Jin <diegothemuich@gmail.com>
@emersonknapp
Copy link
Collaborator

Gist: https://gist.githubusercontent.com/emersonknapp/1830772ca6864d8c07f8a14680a66720/raw/966d0b1434fe5dcdc83c8100bd0e935045e5af4b/ros2.repos
BUILD args: --packages-up-to rosbag2_compression rosbag2_cpp rosbag2_tests rosbag2
TEST args: --packages-select rosbag2_compression rosbag2_cpp rosbag2_tests rosbag2
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/9249

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@emersonknapp emersonknapp merged commit 9f139ce into ros2:master Oct 27, 2021
@lihui815 lihui815 deleted the no-preprocess-twice branch October 27, 2021 23:41
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

2 participants