简体   繁体   English

使用相同代码的新部署的数据存储争用

[英]Datastore contention on new deployment with the same code

We're having some issue with our application that uses Datastore (not Firestore in Datastore mode) after redeploying the code.在重新部署代码后,我们的应用程序使用 Datastore(不是 Datastore 模式下的 Firestore)时遇到了一些问题。 On the new AppEngine service deployment with the same code we get Datastore contention issues and if we switch to the old service version (same code) everything works just fine.在使用相同代码的新 AppEngine 服务部署中,我们会遇到数据存储争用问题,如果我们切换到旧服务版本(相同代码),一切正常。 Triple checked this as we still have the deployment logs and it's the exact same commit on both the deployments.三重检查了这一点,因为我们仍然有部署日志,并且在两个部署中提交完全相同。

We've tried everything, rolled back other services, tried to lower the queue's throughput, attempted to upgrade some dependencies and nothing seems to fix it.我们已经尝试了一切,回滚了其他服务,尝试降低队列的吞吐量,尝试升级一些依赖项,但似乎没有任何东西可以解决它。

For info the app is using GAE Datastore API and Objectify v5.有关信息,该应用正在使用 GAE 数据存储 API 和 Objectify v5。

Any idea of why something like this might happen?知道为什么会发生这样的事情吗?

Thanks in advance.提前致谢。

Unfortunately, there isn't much here to help you out.不幸的是,这里没有什么可以帮助您的。 Eg code samples.例如代码示例。 You could consider enabling data access logs on your writes to see if there is a change to your datastore accesses change with your code deployment.您可以考虑在写入时启用数据访问日志,以查看数据存储访问是否随代码部署而发生变化。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM