---
title: "Processing Engine"
slug: "processing-engine"
abstract: ""
---
# Processing Engine

If you are upgrading from Sitecore XP 9.1.0 or later, before you start the upgrade, we recommend that you review the list of tasks in the *ProcessingEngineTasks* database in the *Tasks* table and:

- Wait for all the ongoing and pending tasks to complete.
- Stop scheduling new processing tasks.
- Ensure that there are no more tasks in the queue.

    If you do not wait for the ongoing tasks to complete, when you restart the *Sitecore Cortex Processing Engine Windows* service after the upgrade:

    - Ensure that any deferred tasks that are in the *InProgress* state are re-run.
    - Ensure that any distributed tasks that are in the *InProgress* state continue from the point they were at when you stopped the Windows service.