You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happened two seconds after the user sync was said to be complete. Of note
is that the user join timestamp is four minutes before the log in question
appeared.
Perhaps the sess.get(User, str(member.id)) call in on_member_update was
performed before the user sync inserted it, then the coroutine didn't get
scheduled back in time,
A member update event triggered the following traceback shortly after startup:
Logs can currently be found via
This happened two seconds after the user sync was said to be complete. Of note
is that the user join timestamp is four minutes before the log in question
appeared.
Perhaps the
sess.get(User, str(member.id))
call inon_member_update
wasperformed before the user sync inserted it, then the coroutine didn't get
scheduled back in time,
I think the proper fix here might be to switch to
SERIALIZABLE
transactionlevel. See
https://blog.ydb.tech/do-we-fear-the-serializable-isolation-level-more-than-we-fear-subtle-bugs-5a025401b609
for some more information.
The text was updated successfully, but these errors were encountered: