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
I just merged #2312, and tried building Kubo. This is creating build errors all over the place (Kubo itself, Kademlia, Gossipsub). Upgrading libp2p will be extremely painful if we cut a release now.
I'm wondering if we really need this. Does respecting cancelations actually make sense if we don't get any result back from the peerstore that a call failed (e.g. an error on Put)? Now we can set a context with deadline, but we have no idea if the change was actually committed when that call returns.
I did not expect it would break multiple things.
As you have mentioned above, context would only be required in case of database backed peer store. I was not aware that this is not used by many, but i do agree with your point as mentioned in #2329 .
@chaitanyaprem No need to be sorry. Actually, this is our fault. We didn’t clearly think through the implications of this when we marked this issue as “help wanted”. I’m sorry.
I just merged #2312, and tried building Kubo. This is creating build errors all over the place (Kubo itself, Kademlia, Gossipsub). Upgrading libp2p will be extremely painful if we cut a release now.
I'm wondering if we really need this. Does respecting cancelations actually make sense if we don't get any result back from the peerstore that a call failed (e.g. an error on
Put
)? Now we can set a context with deadline, but we have no idea if the change was actually committed when that call returns.What was the motivation behind #2231 anyway?
cc @chaitanyaprem @sukunrt @MarcoPolo
The text was updated successfully, but these errors were encountered: