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

[API] Connector exists method should be lightweight #2937

Open
jedrazb opened this issue Nov 4, 2024 · 0 comments
Open

[API] Connector exists method should be lightweight #2937

jedrazb opened this issue Nov 4, 2024 · 0 comments
Labels
enhancement New feature or request epic:agentless

Comments

@jedrazb
Copy link
Member

jedrazb commented Nov 4, 2024

Problem Description

We currently check if connector exists (e.g. for agentless connectors component) by calling GET _connector/{id}, this in turn fetches all doc source. If we have a big cursor then it might turn into an expensive call.

See this comment: #2923 (comment)

Proposed Solution

Connector API should support making it more efficient to check if a connector exists

Alternatives

Keep it as it is... always fetch the whole object

@jedrazb jedrazb added enhancement New feature or request epic:agentless labels Nov 4, 2024
@jedrazb jedrazb changed the title [Enhancemen] Connector exists method should be lightweight [API] Connector exists method should be lightweight Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request epic:agentless
Projects
None yet
Development

No branches or pull requests

1 participant