Skip to content

Limit repeated warning logs#17889

Open
Caideyipi wants to merge 4 commits into
masterfrom
fix-log-throttling
Open

Limit repeated warning logs#17889
Caideyipi wants to merge 4 commits into
masterfrom
fix-log-throttling

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

  • log login lock messages only when thresholds are first reached
  • suppress duplicate auth attack and ConfigNode connection warnings while the same condition persists
  • throttle repeated disk free-space warnings per directory

Tests

  • mvn -Ddevelocity.off=true -nsu -pl iotdb-core/node-commons spotless:apply
  • mvn -Ddevelocity.off=true -nsu -pl iotdb-core/datanode spotless:apply
  • JUnitCore: org.apache.iotdb.commons.utils.JVMCommonUtilsTest
  • JUnitCore: org.apache.iotdb.db.auth.LoginLockManagerTest org.apache.iotdb.db.auth.AuthorizerManagerTest

@sonarqubecloud

Copy link
Copy Markdown

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