-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[ 问题咨询 ]遇到一个很奇怪的事情,mysql开启脱敏query_check导致mysql所有查询都报数据脱敏异常 list index out of range #807
Comments
最好有个traceback,不然没法看到底哪里的问题
…Sent from my iPhone
On Jul 10, 2020, at 18:08, jdj199222 ***@***.***> wrote:
问题描述
脱敏功能开启, query check功能关闭情况下正常查询,脱敏正常,脱敏异常会直接显示
,query check开启情况下查询报错如下
后测试使用debug方式启动,query check开启,脱敏开启,查询不会报错,脱敏正常
版本信息
应用版本/分支:Release v1.7.11
部署方式:手工部署
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
[2020-07-13 11:36:27,475][Thread-2:47188736825088][task_id:default][mysql.py:164][WARNING]- MySQL语句执行报错,语句:show slave status,错误信息Traceback (most recent call last): [2020-07-13 11:36:27,493][Thread-2:47188736825088][task_id:django.db.backends][utils.py:110][DEBUG]- (0.001) SELECT |
我测试了目前只发现有一台mysql服务器上的两个实例上的所有数据库都有这种情况,其他的服务器配置的实例查询又是正常的 |
#129 参考下这个 |
[2020-07-13 11:45:46,771][Thread-1:47687124612864][task_id:default][data_masking.py:37][WARNING]- 数据脱敏异常,错误信息:Traceback (most recent call last): 是这里报错,而不是权限问题,权限那个不会影响查询的,其他正常实例也没有授权super,这个有问题的实例授予super replication client权限了,并没有解决 list index out of range |
def query_print(self, instance, db_name=None, sql=''): |
看起来还是 inception 或者 goinception 的问题, 再看看吧 |
|
问题描述
使用nginx代理方式部署出现如下问题:
脱敏功能开启, query check功能关闭情况下正常查询,脱敏正常,脱敏异常会直接显示
,query check开启情况下查询报错如下
后测试使用debug方式启动,query check开启,脱敏开启,查询不会报错,脱敏正常
版本信息
The text was updated successfully, but these errors were encountered: