在群里问了,十来位管理员集体沉默。。。也许是有难言之隐。。。要么就是bug,因此公开报告。
云函数比较娇嫩,稍微粗鲁一点就会歇菜。
比如:我慢条斯理的点vue调用,没问题,但不能快,一快,比如一秒钟点一次,它就不成了,报错。如下:
说明:内里数据并不多,就十来条,它都反应不过来。
[getArt/ac1415941587145519218798574/158ms/ERROR]
errCode: InternalServerError | errMsg: 云数据库系统错误
<< not authorized on db_1470483271556125_skyspace to execute command {
aggregate: "art", pipeline: [ {
$match: {
artAuthorId: ObjectId('5e95a96cddb3af004d3587c6')
}
},
{
$lookup: {
as: "artAuthorInfo", foreignField: "_id", from: "user", localField: "artAuthorId"
}
},
{
$limit: 3
}
],
maxTimeMS: 1000, cursor: { batchSize: 500 } }
Error: errCode: InternalServerError | errMsg: 云数据库系统错误
<< not authorized on db_1470483271556125_skyspace to execute command {
aggregate: "art", pipeline: [ {
$match: {
artAuthorId: ObjectId('5e95a96cddb3af004d3587c6')
}
},
{
$lookup: {
as: "artAuthorInfo", foreignField: "_id", from: "user", localField: "artAuthorId"
}
}, {
$limit: 3
}
],
maxTimeMS: 1000, cursor: { batchSize: 500 }
}
at e.then.catch.e (/tmp/function/@dcloudio/serverless/lib/aliyun/uni-cloud.js:1:1025)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
0 个回复