Skip to content

[release-1.27] Nested join refactor#57098

Merged
istio-testing merged 1 commit intoistio:release-1.27from
Stevenjin8:nested-join-cherry-pcik
Jul 23, 2025
Merged

[release-1.27] Nested join refactor#57098
istio-testing merged 1 commit intoistio:release-1.27from
Stevenjin8:nested-join-cherry-pcik

Conversation

@Stevenjin8
Copy link
Copy Markdown
Contributor

cherry-pick for #57058

@Stevenjin8 Stevenjin8 requested a review from a team as a code owner July 22, 2025 14:37
@istio-testing istio-testing added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jul 22, 2025
@Stevenjin8 Stevenjin8 requested review from keithmattix and zirain July 22, 2025 14:37
@zirain zirain added the release-notes-none Indicates a PR that does not require release notes. label Jul 22, 2025
@zirain
Copy link
Copy Markdown
Member

zirain commented Jul 22, 2025

UT is still falky?

@keithmattix
Copy link
Copy Markdown
Contributor

Looks like we're missing the lock around the sets?

@Stevenjin8
Copy link
Copy Markdown
Contributor Author

Looks like we're missing the lock around the sets?

https://github.com/istio/istio/pull/57101/files has the lock around the sets. Both these PRs help with flakes.

@Stevenjin8
Copy link
Copy Markdown
Contributor Author

/retest

* Initialize the merge cache when a new handler is added

Handlers can be added after events have already been processed, so we
need to copy the current state of the merge case (using the "" handlerID
used by List and GetBy) for each new handler

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Refactor networks

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Remove commented out code and verbose logs

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Fix lint

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Use krt.Fetch when matching service scope

This ensure that namespaces are a registered dependency to
services. Otherwise, our state might become corrupted if
the service is created BEFORE the namespace.

---------

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>
Co-authored-by: Keith Mattix II <keithmattix@microsoft.com>
@Stevenjin8 Stevenjin8 force-pushed the nested-join-cherry-pcik branch from 301472e to fa30e2c Compare July 22, 2025 16:20
@Stevenjin8
Copy link
Copy Markdown
Contributor Author

@keithmattix bump

@zirain
Copy link
Copy Markdown
Member

zirain commented Jul 23, 2025

@Stevenjin8 ptal, still flaky.

@Stevenjin8
Copy link
Copy Markdown
Contributor Author

/retest

@Stevenjin8
Copy link
Copy Markdown
Contributor Author

@zirain @keithmattix is looking into it, but these PRs should help

@Stevenjin8
Copy link
Copy Markdown
Contributor Author

/retest

@istio-testing istio-testing merged commit 0c8314b into istio:release-1.27 Jul 23, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes-none Indicates a PR that does not require release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants