Skip to content

Configuration export is missing the config tag field. #13229

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

Open
KiteSoar opened this issue Apr 4, 2025 · 4 comments
Open

Configuration export is missing the config tag field. #13229

KiteSoar opened this issue Apr 4, 2025 · 4 comments
Labels
area/Config kind/discussion Category issues related to discussion

Comments

@KiteSoar
Copy link
Contributor

KiteSoar commented Apr 4, 2025

Describe the bug
在控制台执行配置导出操作时,配置中的config_tag字段未被一同导出。这会导致在使用导出的配置文件进行导入操作时,configs_tag信息丢失。
When exporting configurations on the console, the config_tag of the configuration is not exported together. When importing using the exported configuration file for import, the configs_tag is lost.

配置台的配置如图所示: 可以看到有configs_tag字段
The configuration of the configuration console is as shown in the figure: it can be seen that there is a configs_tag field.
Image

导出后的元数据如图所示: configs_tag字段丢失
The exported metadata is as shown in the figure: the configs_tag field is missing.
Image

@KiteSoar KiteSoar changed the title Configuration export is missing the Tag field. Configuration export is missing the config tag field. Apr 4, 2025
@KomachiSion KomachiSion added kind/discussion Category issues related to discussion area/Config labels Apr 7, 2025
@KomachiSion
Copy link
Collaborator

针对新老版本的兼容性能支持吗? 我理解老版本导出,新版本导入应该没问题; 反过来呢?

@KiteSoar
Copy link
Contributor Author

KiteSoar commented Apr 7, 2025

针对新老版本的兼容性能支持吗? 我理解老版本导出,新版本导入应该没问题; 反过来呢?

现在新旧版本的导出都存在这个问题,PR里只对新版本导出导入做了处理,旧版本没改,导入的时候会自动判断是新版本文件还是旧版本,不会影响旧版本的导入导出

@KomachiSion
Copy link
Collaborator

就是新版本导出的文件,在老版本导入不会报错, 只是忽略这个字段对吗

@KiteSoar
Copy link
Contributor Author

就是新版本导出的文件,在老版本导入不会报错, 只是忽略这个字段对吗

是的,在将合并了该 PR 后的新版本所导出的文件,导入到老版本的Nacos时,不会报错,只是老版本会忽略新增的这个tag字段

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/Config kind/discussion Category issues related to discussion
Projects
None yet
Development

No branches or pull requests

2 participants