storage: remove retry from writes
Retrying the write won't work correctly in general, because the media
buffer has state.
See the discussion on the issue.
Fixes
@@ -93,7 +93,7 @@ func (w *Writer) open() error {
var resp *raw.Object
err := applyConds("NewWriter", w.o.gen, w.o.conds, call)
if err == nil {
- err = runWithRetry(w.ctx, func() error { resp, err = call.Do(); return err })
+ resp, err = call.Do()
}
if err != nil {
w.err = err
