Skip to content

Make TransportGetDatabaseConfigurationAction project aware #130065

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

samxbr
Copy link
Contributor

@samxbr samxbr commented Jun 26, 2025

Make TransportGetDatabaseConfigurationAction project aware

@samxbr samxbr added >non-issue :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP labels Jun 26, 2025
@samxbr samxbr marked this pull request as ready for review June 26, 2025 05:50
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Jun 26, 2025
@samxbr samxbr requested a review from nielsbauman June 27, 2025 08:23
);
String geoIpTaskId = GeoIpDownloaderTaskExecutor.getTaskId(projectId, projectResolver.supportsMultipleProjects());
ProjectMetadata projectMetadata = projectResolver.getProjectMetadata(clusterService.state());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use this projectMetadata for retrieving the PersistentTasksCustomMetadata and its ID for GeoIpDownloaderTaskExecutor.getTaskId()? That way we only need to resolve the project ID once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >non-issue Team:Data Management Meta label for data/management team v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants