usdot-fhwa-stol / cda-telematics

Apache License 2.0
1 stars 2 forks source link

Rosbag In progress processing status not updated when processing service crashes #188

Closed adev4a closed 4 months ago

adev4a commented 7 months ago

Summary

The rosbag processing service is responsible for updating the processing status of a rosbag, in the mysql database. When a request for processing is received, the processing service begins the de serialization and updates the status in the mysql database to IN_PROGRESS. Based on successful completion or error received during processing the status is successfully updated with COMPLETED, ERROR. In a situation where the processing service happens to be stopped/crashes without any errors from the rosbag, the status is not updated in the mysql database. image

Commit

Develop

Expected Behavior

If the processing service is not active and processing the rosbag, the user should be informed that an error occurred.

Actual Behavior

A user interacting with only the UI just seeing the IN_PROGRESS status

Steps to Reproduce the Actual Behavior

  1. Start the local deployment of the telematics service ( web ui client and server, influxdb, mysql, rosbag2-processing service)
  2. Upload a rosbag through the UI
  3. Stop the processing service when the processing is in progress but status hasn't changed to completed.

Related Work

No response