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
On further inspection, it we may have been sharing some buffer pools in some cases as some packages copied the buffer pools while others referenced them (which would have initialized the inner buffer pools). Regardless, this behavior was buggy as hell, prone to deadlocks (copying initialized locks...), and inefficient.
This is actually fixed in master, I just stopped copying around the pool. However, yes, storing this as a reference would probably be a good idea and would prevent things like this from coming up in the future.
It looks like we were doing this in secio.
Secio PR: libp2p/go-libp2p-secio#21
Related, pull through the updated go-msgio/mpool. It no longer uses a global lock...
The text was updated successfully, but these errors were encountered: