You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ros2 bag reindex does not recreate message index in bags whose recording was terminated forcefully.
Expected Behavior
When reindex successfully finishes, I'd expect the bag to be 100% usable, same as bags recorded fully.
Actual Behavior
$ ros2 bag reindex rosbag2_2025_05_08-14_09_36
[INFO] [1746706244.158341159] [rosbag2_cpp]: Beginning reindexing bag in directory: "rosbag2_2025_05_08-14_09_36"
[WARN] [1746706244.207632544] [rosbag2_storage_mcap]: attempted to read in receive timestamp order with no message index
[WARN] [1746706244.207654755] [rosbag2_cpp]: Could not set read order on open(), falling back to file order
[INFO] [1746706244.216940004] [rosbag2_cpp]: Reindexing complete.
$ ros2 run rqt_bag rqt_bag rosbag2_2025_05_08-14_09_36
Qt: Session management error: None of the authentication protocols specified are supported
[WARN] [1746706250.787082517] [rosbag2_storage_mcap]: attempted to read in receive timestamp order with no message index
[WARN] [1746706250.862940743] [rosbag2_storage_mcap]: attempted to read in receive timestamp order with no message index
[WARN] [1746706250.866858055] [rosbag2_storage_mcap]: attempted to read in receive timestamp order with no message index
[WARN] [1746706250.870472811] [rosbag2_storage_mcap]: attempted to read in receive timestamp order with no message index
[WARN] [1746706250.875138264] [rosbag2_storage_mcap]: attempted to read in receive timestamp order with no message index
[WARN] [1746706250.881880333] [rosbag2_storage_mcap]: attempted to read in receive timestamp order with no message index
To Reproduce
Play a well working bag
ros2 bag record -a in another console
kill -9 the recording node
ros2 bag reindex $bag
ros2 run rqt_bag rqt_bag $bag
System (please complete the following information)
OS: Ubuntu Noble
ROS 2 Distro: Jazzy
Install Method: APT
Version: release
Additional context
Bag recording can be forcefully terminated for various reasons, e.g. voltage spikes on power distribution which reboot the PC, batteries running out etc.
The text was updated successfully, but these errors were encountered:
Description
ros2 bag reindex
does not recreate message index in bags whose recording was terminated forcefully.Expected Behavior
When reindex successfully finishes, I'd expect the bag to be 100% usable, same as bags recorded fully.
Actual Behavior
To Reproduce
ros2 bag record -a
in another consolekill -9
the recording noderos2 bag reindex $bag
ros2 run rqt_bag rqt_bag $bag
System (please complete the following information)
Additional context
Bag recording can be forcefully terminated for various reasons, e.g. voltage spikes on power distribution which reboot the PC, batteries running out etc.
The text was updated successfully, but these errors were encountered: