Skip to content

Fix RemoteClusterSecurityFcActionAuthorizationIT testIndicesPrivilegesAreEnforcedForCcrRestoreSessionActions to wait for references to be cleared #127888

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

Merged

Conversation

mosche
Copy link
Contributor

@mosche mosche commented May 8, 2025

Fix RemoteClusterSecurityFcActionAuthorizationIT testIndicesPrivilegesAreEnforcedForCcrRestoreSessionActions to wait for references to be cleared.

(fixes #127782)

…sAreEnforcedForCcrRestoreSessionActions to wait for references to be cleared (fixes elastic#127782)
@mosche mosche added :Core/Infra/Transport API Transport client API >test-failure Triaged test failures from CI labels May 8, 2025
@elasticsearchmachine elasticsearchmachine added Team:Core/Infra Meta label for core/infra team needs:risk Requires assignment of a risk label (low, medium, blocker) v9.1.0 labels May 8, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@mosche
Copy link
Contributor Author

mosche commented May 8, 2025

@original-brownbear could you give this a sanity check, this started to fail randomly with #127058. I suspect due to deserialisation happening on a separate thread pool, but honestly also didn't look to closely.

@mosche mosche requested review from original-brownbear and a team May 8, 2025 07:00
@mosche
Copy link
Contributor Author

mosche commented May 8, 2025

btw, wondering why this was automatically tagged core/infra. Is it?

@mosche mosche added >test Issues or PRs that are addressing/adding tests and removed >test-failure Triaged test failures from CI needs:risk Requires assignment of a risk label (low, medium, blocker) labels May 8, 2025
@original-brownbear
Copy link
Contributor

Hmm @mosche were you able to reproduce that this actually fixes the failure? I think we could have a race here indeed where we close on the thread that resolves the future (and after we resolve the future). Mainly asking to rule out any other issues :)

Copy link
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

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

Actually, LGTM :) verified this myself :D

@mosche
Copy link
Contributor Author

mosche commented May 8, 2025

@elasticmachine update branch

@elasticmachine
Copy link
Collaborator

There are no new commits on the base branch.

@mosche mosche merged commit 4d052d7 into elastic:main May 8, 2025
17 checks passed
@mosche mosche deleted the ktlo/RemoteClusterSecurityFcActionAuthorizationIT branch May 8, 2025 15:45
ywangd pushed a commit to ywangd/elasticsearch that referenced this pull request May 9, 2025
…sAreEnforcedForCcrRestoreSessionActions to wait for references to be cleared (fixes elastic#127782) (elastic#127888)
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request May 12, 2025
…sAreEnforcedForCcrRestoreSessionActions to wait for references to be cleared (fixes elastic#127782) (elastic#127888)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Transport API Transport client API Team:Core/Infra Meta label for core/infra team >test Issues or PRs that are addressing/adding tests v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] RemoteClusterSecurityFcActionAuthorizationIT testIndicesPrivilegesAreEnforcedForCcrRestoreSessionActions failing
4 participants