Skip to content

Fix stale auth cache denial after grants#18062

Closed
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:fix-auth-cache-negative-refresh
Closed

Fix stale auth cache denial after grants#18062
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:fix-auth-cache-negative-refresh

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

This patch confirms locally cached permission denials with ConfigNode so a stale DataNode user cache cannot incorrectly reject a privilege that was just granted. If ConfigNode is unavailable, it preserves the previous local NO_PERMISSION result. Tests: mvn spotless:apply -pl iotdb-core/datanode; mvn -nsu -pl iotdb-core/datanode -Dtest=AuthorizerManagerTest -Dcheckstyle.skip=true test; mvn -nsu -pl integration-test -am -PTableSimpleIT -P with-integration-tests -DskipUTs -Dit.test=IoTDBAuthenticationTableIT#testAlter -DfailIfNoTests=false -Dfailsafe.failIfNoSpecifiedTests=false -Dcheckstyle.skip=true -Drat.skip=true verify.

@Caideyipi Caideyipi closed this Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant