使用1.7.0版本的云函数操作事务, 在配置
时, 会报如下错误:
指定了对应的 envname 后恢复正常, 但在同时更新多条记录时, 经常会报如下错误:
"Error: errCode: -501001 resource system error | errMsg: document.update:fail [ResourceUnavailable.TransactionBusy] Transaction is busy. Please check your request, but if the problem persists, contact us.; at document.update api;
at returnAsCloudSDKError (/cloudfunctions/recommend/node_modules/wx-server-sdk/index.js:6057:16)
at Object.returnAsFinalCloudSDKError (/cloudfunctions/recommend/node_modules/wx-server-sdk/index.js:6071:15)
at /cloudfunctions/recommend/node_modules/wx-server-sdk/index.js:1326:32
at processTicksAndRejections (internal/process/task_queues.js:85:5)"
能帮忙查一下原因吗?
可以提供下你写的事务这部分逻辑的代码 ,和报错的requestid么