Skip to content

Resetting

How to make a Stroom component start again from a known state, and what each reset costs you.

Sometimes the fix is to make something start again. A pipeline was wrong and the output it produced is wrong with it; an index holds data in a shape you have since changed; a cache is serving a document you have already corrected.

Each page here covers one component. They share a shape, because the same three questions apply every time:

  • What does it actually clear? Rarely only the thing you had in mind.
  • What is lost, and can it be rebuilt? Most of Stroom's derived data can be rebuilt from the stream store, which is the strongest argument for keeping raw data. Some things cannot.
  • What has to happen afterwards? A reset usually leaves work to redo, and a system that has been reset but not reprocessed looks like a system that has lost data.

Warning

Read the whole page before running anything on it. Several of these operations are irreversible, and two of them delete data that no amount of reprocessing will bring back.

Which one do you want?

SymptomPage
The output is wrong, and the pipeline is now rightReprocess data
New data processes but old data was skippedReset a processor filter
Searches are wrong, or you changed an index field typeReset an index
A corrected document is still behaving as it did beforeClear caches
Reference lookups return stale or deleted valuesPurge reference data
A Plan B store is full, stale, or has the wrong schemaReset a Plan B store
Nobody can sign in as adminReset a user's password

All documentation