Skip to content
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

if the new gray env should return the main env's latest releases #5054

Closed
3 tasks
xxyush opened this issue Dec 19, 2023 · 6 comments
Closed
3 tasks

if the new gray env should return the main env's latest releases #5054

xxyush opened this issue Dec 19, 2023 · 6 comments
Labels

Comments

@xxyush
Copy link

xxyush commented Dec 19, 2023

描述bug

I have a PRO env and the gray env of PRO:
1,without adding or changing any items to the gray,using open api (http://apollo.xxx/openapi/v1/envs/PRO/apps/test_app/clusters/XXX/namespaces/application/releases/latest) to get latest releases is empty(no including the items of PRO env part )2, then I deploy any oen item in gray env, then using the open api to get the latest releases, the result contains the gray part(the new add one) And the pro env part items.
复现

通过如下步骤可以复现:

  1. Choose a env
  2. build the env's gray env
  3. using open api to get the latest releases
  4. the result content is empty and no significant content

期望

so I wonder if the fist situation should also include/display the PRO env items as the gray release items

截图

如果可以,附上截图来描述你的问题

额外的细节和日志

  • 版本:
  • 错误日志
  • 配置:
  • 平台和操作系统
Copy link

dosubot bot commented Dec 19, 2023

🤖

Hello @xxyush! I'm Dosu, a friendly bot here to help while we wait for a human maintainer. I'm designed to assist with bug resolution, answer questions, and help you navigate the contribution process. Let's work together to figure out the issue you're encountering!

根据我对Apollo系统的理解,当你创建一个灰度环境并没有添加或更改任何配置项时,通过Open API获取最新发布的结果应该是空的。这是因为灰度环境是独立的,它不会自动继承PRO环境的配置项。只有当你在灰度环境中部署了新的配置项,这些配置项才会出现在获取最新发布的结果中。

然而,当你在灰度环境中部署任何一个配置项后,通过Open API获取最新发布的结果将会包含灰度环境中的新配置项以及PRO环境中的配置项。这是因为在Apollo系统中,当你在灰度环境中部署新的配置项时,这些配置项会被合并到PRO环境的配置项中,因此,它们都会出现在获取最新发布的结果中。

这是根据Apollo系统的设计来的,如果你希望在创建灰度环境时自动继承PRO环境的配置项,你可能需要自己修改代码来实现这个功能。你可以参考Apollo的源代码来了解更多关于环境管理和发布管理的细节。

如果你有任何其他问题,或者需要更详细的解答,欢迎随时向我提问。

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@nobodyiam
Copy link
Member

Could you kindly arrange your scenario on the demo site to enhance clarity and ease of understanding?

@xxyush
Copy link
Author

xxyush commented Dec 22, 2023

Could you kindly arrange your scenario on the demo site to enhance clarity and ease of understanding?

hi what is the demo site username and password?

@nobodyiam
Copy link
Member

Oh, I thought it was well known as it's documented in the readme.md.
Here it is:

Copy link

stale bot commented Jan 22, 2024

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 22, 2024
Copy link

stale bot commented Jan 30, 2024

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

@stale stale bot closed this as completed Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants