ym0506 opened a new pull request, #38685: URL: https://github.com/apache/shardingsphere/pull/38685
## Summary - add regression coverage for deleting named rule configuration items in standalone metadata - add an RDL E2E case that recreates an encrypt rule after dropping the same rule name - add the expected DistSQL result for the recreated encrypt rule ## Motivation This covers the issue reported in #38657, where dropping an encrypt rule could remove it from persisted metadata while runtime metadata still behaved as if the rule existed. ## Test Plan - ./mvnw -pl mode/type/standalone/core -am -DskipITs -DskipIT -DskipCheck -Dspotless.check.skip=true -Dcheckstyle.skip=true -Dlicense.skip=true -Djacoco.skip=true -DskipTests=false -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false -Dtest=StandaloneMetaDataManagerPersistServiceTest test - ./mvnw -pl features/encrypt/distsql/handler -am -DskipITs -DskipIT -DskipCheck -Dspotless.check.skip=true -Dcheckstyle.skip=true -Dlicense.skip=true -Djacoco.skip=true -DskipTests=false -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false -Dtest=DropEncryptRuleExecutorTest,CreateEncryptRuleExecutorTest test - git diff --check - xmllint --noout test/e2e/sql/src/test/resources/cases/rdl/e2e-rdl-create.xml test/e2e/sql/src/test/resources/cases/rdl/dataset/distsql_rdl/create_recreated_encrypt_rule.xml -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
