Skip to content

BUG: MongoPipelineStatus.isPrepared does not guarantee prepare status #167

@ebbesson

Description

@ebbesson

How to reproduce:
Initiate Hydra with a clean database. Add stages and configurations
Start hydra
Hydra creates database and 4 collections (documents,oldDocuments,hydra,stages)
prepared is set to true.
Shutdown Hydra core
Now drop oldDocuments in mongo. - prepared state is now compromised

Start hydra again and hydra does not re-create the oldDocuments on connect, due to prepare status being set to true.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions