Skip to content

Fix old pipe root user compatibility#17985

Merged
jt2594838 merged 4 commits into
apache:masterfrom
Caideyipi:fix/pipe-root-user-compat
Jun 22, 2026
Merged

Fix old pipe root user compatibility#17985
jt2594838 merged 4 commits into
apache:masterfrom
Caideyipi:fix/pipe-root-user-compat

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

When old pipe metadata created before the user and permission system is loaded, automatically enrich missing local IoTDB source and write-back sink credentials with the current root user and encrypted password.

This keeps upgraded old user pipes runnable while avoiding overwriting existing credentials, system pipes, or normal remote IoTDB thrift sinks.

Tests

  • mvn -nsu -pl iotdb-core/node-commons,iotdb-core/confignode -Dtest=PipeTaskInfoAutoRestartTest "-Dsurefire.failIfNoSpecifiedTests=false" test

@Caideyipi Caideyipi force-pushed the fix/pipe-root-user-compat branch from 5e12fe5 to 55de435 Compare June 18, 2026 08:40
@jt2594838 jt2594838 merged commit f971de2 into apache:master Jun 22, 2026
40 checks passed
@jt2594838 jt2594838 deleted the fix/pipe-root-user-compat branch June 22, 2026 01:38
MileaRobertStefan pushed a commit to MileaRobertStefan/iotdb that referenced this pull request Jun 26, 2026
* Fix old pipe root user compatibility

* Fix ConfigurationFileUtilsTest import

* Update AbstractEnv.java

* Address pipe compatibility review comments
JackieTien97 pushed a commit that referenced this pull request Jun 29, 2026
* Fix old pipe root user compatibility

* Fix ConfigurationFileUtilsTest import

* Update AbstractEnv.java

* Address pipe compatibility review comments
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.

2 participants