Skip to content

Prevent Operator star/stop procedure be performed twice #35

Closed
@snowdrop-bot

Description

@snowdrop-bot

As today the Operator start/stop methods do not have any barrier to avoid the methods to be invoked more than once and as example, since the introduction of the PR here https://github.com/quarkiverse/quarkus-operator-sdk/blob/main/runtime/src/main/java/io/quarkiverse/operatorsdk/runtime/StartupListener.java, I've observed that my operator did invoke start twice because I also had a startup listener to implement the same functionality.

I have now fixed my code so id does not happen anymore but I feel a barrier on the start/stop methods could be useful in any case.


operator-framework#488


$upstream:488$

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions