This update addresses a corner case where some users uploaded classic SCP-formatted metadata/clustering files that were eligible to be subsampled, but upon job completion the is_subsampling flag was not correctly reset. This led to the files being "stuck" and unable to be removed by the end user, requiring direct database intervention. This was caused by a corner case where the job did not fail, but also did not generate any subsampled data. Now, the is_subsampled flag is always reset upon job completion, unless the underlying clustering object has been deleted (in which case file deletion has already happened).
BACKGROUND & CHANGES
This update addresses a corner case where some users uploaded classic SCP-formatted metadata/clustering files that were eligible to be subsampled, but upon job completion the
is_subsampling
flag was not correctly reset. This led to the files being "stuck" and unable to be removed by the end user, requiring direct database intervention. This was caused by a corner case where the job did not fail, but also did not generate any subsampled data. Now, theis_subsampled
flag is always reset upon job completion, unless the underlying clustering object has been deleted (in which case file deletion has already happened).MANUAL TESTING