Closed mdsadique-inam closed 1 month ago
the Promise.all creates the deadlock causing the command db:truncate to throw error deadlock detected
Promise.all
db:truncate
Replaced Promise.all with for loop in db_truncate.ts resolves #1027
for loop
db_truncate.ts
Please first share a reproduction of what exactly the issue is. We cannot change code that is been working for years for everyone.
the
Promise.all
creates the deadlock causing the commanddb:truncate
to throw error deadlock detected🔗 Linked issue
1027
❓ Type of change
📚 Description
Replaced
Promise.all
withfor loop
indb_truncate.ts
resolves #1027📝 Checklist