Records deleted on the remote CSW server are not deleted locally.
The ids of the records stored locally but no longer on the remote server are put in the fetch list, but the fetch stage will fail because the record is not found on the CSW server. The transaction object will be marked as failed, and the record as not current.
The fix just bypasses the fetch stage if the record has to be deleted.
Records deleted on the remote CSW server are not deleted locally. The ids of the records stored locally but no longer on the remote server are put in the fetch list, but the fetch stage will fail because the record is not found on the CSW server. The transaction object will be marked as failed, and the record as not current.
The fix just bypasses the fetch stage if the record has to be deleted.