Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soft-deletes not respected by connector framework logic #3118

Open
jedrazb opened this issue Jan 16, 2025 · 0 comments
Open

Soft-deletes not respected by connector framework logic #3118

jedrazb opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working priority:high
Milestone

Comments

@jedrazb
Copy link
Member

jedrazb commented Jan 16, 2025

Bug Description

Connectors defined in the service config.yml can be soft-deleted. Since the logic for fetching/listing connectors is not yet using APIs we might still show deleted connectors as ready do sync.

To Reproduce

Steps to reproduce the behavior:

  1. Add connector to config yml
  2. Start service
  3. Delete the connector in Kibana UI (or DELETE _connector/{id} with api)
  4. Connector service still reports this connector as valid, e.g. in periodic log lines ("connector {} is not configured yet ....")

Expected behavior

Soft deleted connector should be treated as deleted connector.

Screenshots

Suggested workaround

Quick fix:

Long term fix:

  • Switch to Connector APIs
@jedrazb jedrazb added bug Something isn't working priority:high labels Jan 16, 2025
@jedrazb jedrazb self-assigned this Jan 16, 2025
@seanstory seanstory added this to the February 2025 milestone Jan 16, 2025
@jedrazb jedrazb removed their assignment Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:high
Projects
None yet
Development

No branches or pull requests

2 participants