如何删除此错误?有人知道吗?
Fatal error: Uncaught exception 'Google\Cloud\Exception\ConflictException' with message
'{ "error": { "code": 409, "message": "too much contention on these datastore entities.
please try again. entity groups:[(app=s~test-154434, demo, 4564)]", "status": "ABORTED" } } '
in C:\xampp\htdocs\folder_name\vendor\google\cloud\src\RequestWrapper.php:219发布于 2019-06-19 03:41:52
一般来说,在不知道具体细节的情况下,“争用”是entity group在有挂起的更新时进入的一种状态。对实体组的每个请求更新都会被序列化,然后添加到队列中。超过超时的更新请求将以该409状态返回,并从队列中删除。
Google has recommendations for avoiding contention基本上归结为一些设计原则:保持实体组小,尽可能避免快速连续更新实体组,以及在不可能的情况下使用分片(在此上下文中,这通常意味着将单个实体拆分为多个实体,这些实体在写入时随机选择,然后在读取时聚合)。该链接有更多细节。
https://stackoverflow.com/questions/50742969
复制相似问题