Skip to content

Graceful shutdown trigger in case of err is broken #170

@alok87

Description

@alok87

All routines are not getting shutdown and the main thread waits endlessly waiting for some to shutdown.

When this https://github.com/practo/tipoca-stream/blob/master/redshiftsink/pkg/redshiftbatcher/batch_processor.go#L505-L512 happens the processor sends error to the channel

the processor orchestrator gets this error and returns.

but the main is still waiting for some routines to shutdown.

Need to check and fix this.

Metadata

Metadata

Assignees

No one assigned

    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