Closed Kristian-A closed 5 months ago
Background
The plot cleanup trigger as defined in this migration: https://github.com/biomage-org/api/blob/master/src/sql/migrations/20230526113722_make_plot_delete_trigger_check_s3_data_key.js is not passing the correct rows to the lambda function. This trigger is supposed to clean up plots data files that are no longer used. Because the rows aren't passed properly, the lamba is deleting plot data at random.
See https://github.com/biomage-org/issues/issues/151 for more details.
Todo
Fix this issue:
Background
The plot cleanup trigger as defined in this migration: https://github.com/biomage-org/api/blob/master/src/sql/migrations/20230526113722_make_plot_delete_trigger_check_s3_data_key.js is not passing the correct rows to the lambda function. This trigger is supposed to clean up plots data files that are no longer used. Because the rows aren't passed properly, the lamba is deleting plot data at random.
See https://github.com/biomage-org/issues/issues/151 for more details.
Todo
Fix this issue: