Skip to content

Persistence blocking call occurs in event-loop thread in @PreMatching filter #1345

@sfc-gh-rliu

Description

@sfc-gh-rliu

Describe the bug

@PreMatching filters run on Vertx event loop threads. In some cases, we make a blocking call to persistence in a filter, hence blocking the event loop thread, which is strongly discouraged.

This occurs in

PolarisPrincipalAuthenticatorFilter 
PolarisPrincipalRolesProviderFilter

and potentially other filters.

To Reproduce

No response

Actual Behavior

No response

Expected Behavior

No response

Additional context

No response

System information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions