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
Sometimes, publishing message may fail in Gossipsub due to PublishError::InsufficientPeers. In this case, the application may want to retry the publish later. However, the subsequent re-publish would fail due to PublishError::Duplicate when a content-based hash is used to compute message id.
I think if a message fails to be published, it should be removed from duplicate_cache also maybe mcache.
The text was updated successfully, but these errors were encountered:
This is an issue with content-addressed messages. I've updated the gossipsub protocol in #1930 to only add messages to the caches if they have been sent to at least one peer.
Sometimes, publishing message may fail in
Gossipsub
due toPublishError::InsufficientPeers
. In this case, the application may want to retry the publish later. However, the subsequent re-publish would fail due toPublishError::Duplicate
when a content-based hash is used to compute message id.I think if a message fails to be published, it should be removed from
duplicate_cache
also maybemcache
.The text was updated successfully, but these errors were encountered: