Skip to content

import into option cloud_storage_uri is not redacted #62966

@D3Hunter

Description

@D3Hunter

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Note: it's the option cloud_storage_uri of import-into, not the system variable tidb_cloud_storage_uri

2. What did you expect to see? (Required)

redacted when show in show full processlist

3. What did you see instead (Required)

mysql> show full processlist;
+------------+------+-----------------+------+---------+------+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Id         | User | Host            | db   | Command | Time | State      | Info                                                                                                                                                                                                                                                                           |
+------------+------+-----------------+------+---------+------+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 2816475140 | root | 127.0.0.1:64511 | test | Query   |   14 | autocommit | IMPORT INTO `test`.`t` FROM 's3://mybucket/a.csv?access-key=xxxxxx&endpoint=http%3A%2F%2F0.0.0.0%3A9000&secret-access-key=xxxxxx' WITH cloud_storage_uri=_UTF8MB4's3://mybucket/gsort?access-key=minioadmin&secret-access-key=minioadmin&endpoint=http%3a%2f%2f0.0.0.0%3a9000' |
| 2816475142 | root | 127.0.0.1:64548 | test | Query   |    0 | autocommit | show full processlist                                                                                                                                                                                                                                                          |
+------------+------+-----------------+------+---------+------+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

4. What is your TiDB version? (Required)

master

Metadata

Metadata

Assignees

Labels

affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.component/ddlThis issue is related to DDL of TiDB.component/importseverity/majortype/bugThe issue is confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions