Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The Default-Purge-Worker is one available Purge-Worker

Table of Contents

Actions

When the Default-Purge-Worker is started the following actions take place:

A) Delete storageentity

  1. The Default-Purge-Worker seraches default purge-worker searches for storageentities with state = TO_BE_DELETED
  2. it sets the state to IS_DELETING
  3. it deletes the file
  4. it deletes the storageentity in from the database
  5. if there was an error, it sets the state of the storageentity to DELETING_ERROR

B) Delete file only

  1. The Default-Purge-Worker The default purge-worker seraches for storageentities with state = TO_BE_DELETED_BINARY
  2. it sets the state to IS_DELETING_BINARY
  3. it deletes the file
  4. it sets the state of the storageentity to DELETED_BINARY
  5. if there was an error, it sets the state of the storageentity to DELETING_ERROR