apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.73k stars 4.58k forks source link

[Bug] JdbcRegistry might get duplicate result in getChildren #16347

Closed ruanwenjun closed 2 months ago

ruanwenjun commented 2 months ago

Search before asking

What happened

If the worker registry path is

/node/worker/default/127.0.0.1:8080
/node/worker/default/127.0.0.2:8080
/node/worker/default/127.0.0.3:8080

and then we get child by /node/worker, then we will get three default, this is different with zk.

This should not affect the current usage, since we don't have a case /node/worker/default/127.0.0.3:8080. But will cause problem in the future if we have these case.

What you expected to happen

xx

How to reproduce

xx

Anything else

No response

Version

dev

Are you willing to submit PR?

Code of Conduct