As of now, whenever a replica fails to export a part in an export partition task, it will bump the retry count. Once it reaches max_retry_count, it fails the entire task.
The problem with bumping it at the end is that if the part export is leading to crashes, the server will never recover.