Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALTER MASK RULE failed, Mask algorithm xxx is unregistered. #33450

Open
RaigorJiang opened this issue Oct 29, 2024 · 0 comments
Open

ALTER MASK RULE failed, Mask algorithm xxx is unregistered. #33450

RaigorJiang opened this issue Oct 29, 2024 · 0 comments

Comments

@RaigorJiang
Copy link
Contributor

Bug Report

Which version of ShardingSphere did you use?

5.5.2-SNAPSHOT d10aa6f

Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?

Proxy

Expected behavior

Alter mask rule success

Actual behavior

DistSQL execute success, bug metadata refresh failed

Reason analyze (If you can)

No.

Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.

create database sharding_db;
use sharding_db;

REGISTER STORAGE UNIT ds_0 (
    URL="jdbc:mysql://127.0.0.1:3306/demo_ds_0?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true",
    USER="root",
    PASSWORD="123456",
    PROPERTIES("maximumPoolSize"=10)
);

CREATE MASK RULE t_mask (COLUMNS((NAME=order_id,TYPE(NAME='MD5'))));

ALTER MASK RULE t_mask (COLUMNS((NAME=order_id, TYPE(NAME='MASK_FROM_X_TO_Y', PROPERTIES('from-x'=1, 'to-y'=2, 'replace-char'='*')))));

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant