服务不稳定吗?

- 发布:2023-04-21 14:29
- 更新:2023-04-21 16:31
- 阅读:279


glowing (作者)
云数据库是不是不稳定,报这个错:Your current request database.getDocument is longer than 3s, it may be due to the network or your query performance | [24660dad868518-187a281aedf_8]"

能知道执行的什么数据库操作吗?前端有没有错误
-
glowing (作者)
await this.db.collection('project-user-map').aggregate()
.match({
user: uid,
state: 0
})
.limit(1000)
.lookup({
from: 'project',
localField: 'project',
foreignField: '_id',
as: 'projectList',
})
.sort({
create_date: -1
})
.end()2023-04-21 16:42
-
glowing (作者)
就14点左右和 14点26分左右出现了两次数据库访问异常,大概5分钟后恢复,现在是好的,我就想知道是什么原因引起的,我们这个云函数用了两年了,没动过,之前一直都是正常的
2023-04-21 16:44
-
-