CONTAP-737768: Node crash during batch consistency-group snapshot creation on SnapMirror Synchronous configurations
Issue
A use-after-free condition in batch consistency-group (CG) snapshot creation can cause a node crash. The batch snapshot postprocess path decremented its progress counter before it finished using the snapshot job. The waiting thread could then free the job while it was still in use. On a node that hits this timing window, the crash shows the following assertion:
The condition is timing-dependent and was reproduced in lab testing by adding a delay between the wakeup and job-removal steps.
assertion 'msg->async_owner == snap_hipri_worker_pid' failed: file 'prod/common/wafl/snapshot.c', line 3610 in SK process batch_snap_hipri_workThe condition is timing-dependent and was reproduced in lab testing by adding a delay between the wakeup and job-removal steps.
