Skip to content

same extractor shows up multiple times #327

@robkooper

Description

@robkooper

Describe the bug

When you have multiple instances of clowder running the heartbeat of a new extractor could result into the same extractor being addd multiple times. This seems to be a race condition where we check to see if the extractor exists, and if it does not it will add. With multiple instances of clowder this could result in the same extractor being added multiple times.

To Reproduce

  1. Make sure extractor does not exist
  2. Run multiple clowder instances
  3. Start extractor
  4. Might show up the same extractor multiple times in extractor list

Expected behavior
Extractor should only show once.

Additional context
Might need a second process that will check and remove any duplicate instances of the same extractor.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions