Default-Purge-Worker

Default-Purge-Worker

Overview

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

Actions

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

A) Delete storageentity

  1. The 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 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 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