高复制数据存储迁移后保留原始应用程序名称 [英] Retaining original app name after a high replication datastore migration

查看:113
本文介绍了高复制数据存储迁移后保留原始应用程序名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎在GAE上有两个独立的应用程序,一个是虚构名称 xyz ,另一个名称是 xyz-hrd 。我只想要名称 xyz 但我希望它使用高分辨率数据存储。 我正在尝试使用这里的说明



我在 xyz 的HRD迁移阶段结束时点击了Activate Read-only。在步骤11中说明如下。

 当迁移工具准备好为应用程序提供别名时,您会收到通知(通过电子邮件如果您选择了该选项,或者在刷新浏览器窗口时通过消息显示)。点击完成迁移完成迁移。此时,新的HRD应用程序开始服务传入的请求。 

当我在appspot.com上启动 xyz 时,没有变化。



当我在appspot.com上启动 xyz-hrd 时,有变化,但只有新的数据项。



我是否点击完成迁移,当我这样做时,我将如何获取应用程序名称<$ c下的所有更改和所有数据项$ C> XYZ ?我非常紧张,因为说明指出在点击完成迁移后无法恢复。

顺便说一句,在我的仪表板中,我可以从列出 xyz xyz-hrd 的应用程序中进行选择。当我选择 xyz I(still)时,看到2个警告,但是当我选择 xyz-hrd 时没有警告。以下是2条警告。

 这个应用程序的一个版本是使用Python 2.5运行时,它已被弃用! 
此应用程序正在使用已弃用的主/从数据存储区!


解决方案

没有办法回收旧的应用程式网址新的那一个。我知道,它的跛脚。

为了避免将来出现这种情况,将appspot映射到谷歌应用程序域,以便它具有固定的URL。

现在,您最多可以上传旧版应用的新版本重定向到新版本。
在迁移之前,您应该停止使用旧版本,方法是只读。否则,那里的更改不会迁移。


I seem to have 2 separate applications on GAE, the original one with the fictitious name xyz and an hrd one with the name xyz-hrd. I only want one with the name xyz but I want it to use the high resolution datastore. I am trying to use the instructions here.

I am near the end of the HRD migration stage on xyz and have clicked on "Activate Read-only". In step 11 the instructions say the following.

You will be notified when the migration tool is ready to alias the application (by email if you chose that, or by a message when your refresh the browser window). Click Finish Migration to complete the migration. At this point, the new HRD application begins serving incoming requests. 

When I launch xyz at appspot.com, there are no changes.

When I launch xyz-hrd at appspot.com, there are changes, but only new data items.

Do I click on "Finish Migration" or not, and when I do, how will I get all the changes and all of the data items under the application name xyz? I am very nervous about this because the instructions say there is not way to revert after clicking on "Finish Migration".

By the way, in my "dashboard" I can select from among my applications which lists both xyz and xyz-hrd. When I select xyz I (still) see 2 warnings, but no warnings are present when I select xyz-hrd. Below are the 2 warnings.

A version of this application is using the Python 2.5 runtime, which is deprecated!
This application is using the Master/Slave datastore which is deprecated! 

解决方案

There is no way to reclaim the old app url for the new one. I know, its lame.
To avoid that in the future, map the appspot to a google apps domain so it has a fixed url.
For now, at most you can upload a new version to the old app which redirects to the new one. Before migration you are supposed to stop using the old one by making it readonly. Otherwise changes there wont migrate.

这篇关于高复制数据存储迁移后保留原始应用程序名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆