Skip to content

extractor will never run #21

Open
Open

Description

@robkooper

if the resource or the host is not correctly computed, the extractor will never start, but also not ack the messages, resulting in the extractor being stuck.

See the following places:

logging.error("Host is empty, this is bad.")

logging.error("No resource found, this is bad.")

In this case all we can do is move the message to the error queue and ack it. It is not possible to send an update to clowder.

Activity

  1. max-zilla commented on Oct 7, 2020

    @max-zilla
    Contributor

    Started an implementation of this here:
    https://github.com/clowder-framework/pyclowder/compare/fail-gracefully-on-bad-resources

    Haven't tested it yet but tried to make it generically adaptable for other connectors as well.

  2. robkooper commented on Oct 7, 2020

    @robkooper
    MemberAuthor

    @max-zilla looks good sofar, next comes testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions