2021-12-27T19:13:11.774Z START
2021-12-27T19:13:12.472Z REPORT RequestId:fa8c6066-6705-11ec-a727-5af6d5992abd Duration:195ms Memory:256MB MemUsage:49.706398MB
2021-12-27T19:13:12.472Z END
2021-12-27T19:13:12.472Z ERROR RequestId:fa8c6066-6705-11ec-a727-5af6d5992abd Result:{"errCode":1,"errMsg":"user code exception caught","stackTrace":"[FailedOperation.Update] (LockTimeout) Unable to acquire lock '{7073718380437575470: Database, 156189352796493614}' within a max lock request timeout of '5ms' milliseconds.
Error: [FailedOperation.Update] (LockTimeout) Unable to acquire lock '{7073718380437575470: Database, 156189352796493614}' within a max lock request timeout of '5ms' milliseconds.
at Object.exports.E (/var/user/node_modules/@cloudbase/node-sdk/lib/utils/utils.js:24:12)
at processReturn (/var/user/node_modules/@cloudbase/node-sdk/lib/utils/utils.js:43:19)
at Object.exports.default (/var/user/node_modules/@cloudbase/node-sdk/lib/utils/httpRequest.js:377:20)
at \u003canonymous\u003e
at process._tickCallback (internal/process/next_tick.js:188:7)"}
bo808080
- 发布:2021-12-27 21:03
- 更新:2022-01-17 16:05
- 阅读:872
2 个回复
DCloud_uniCloud_WYQ
什么操作触发的?是不是云函数return之后还有其他逻辑还在执行?
bo808080 (作者)
最新报错
排查了代码, return 之后没有逻辑在执行
DCloud_uniCloud_WYQ
建议检查一下自己的事务,不建议事务内执行过于复杂的逻辑
2022-01-18 11:24
bo808080 (作者)
回复 DCloud_uniCloud_WYQ: 如果有队列就可以分解复杂逻辑了
2022-01-18 21:47