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
{{ message }}
This repository was archived by the owner on Jul 23, 2025. It is now read-only.
Problem
When eigenda-proxy put blob, if handleRedundantWrites fails, it only logs the error and does not return the error to the caller. This could lead to some blobs having an unavailable fallback, but it goes unnoticed.
Proposed Solution
Is it possible to directly return the error to the caller when handleRedundantWrites fails? In this way, the caller can ensure that all blobs have fallback storage by retrying.
// Put ... inserts a value into a storage backend based on the commitment modefunc (r*Router) Put(ctx context.Context, cm commitments.CommitmentMode, key, value []byte) ([]byte, error) {
// ...ifr.cacheEnabled() ||r.fallbackEnabled() {
err=r.handleRedundantWrites(ctx, commit, value)
iferr!=nil {
log.Error("Failed to write to redundant backends", "err", err)
}
}
returncommit, nil
}