satellite/metainfo: do not expire satStreamID

We are checking if satStreamID is created in the last 48 hours. If it is
older we treat is as expired an fail to unmarshal it.

Since the satStreamID is also the Upload ID for multipart uploads, this
means that all calls fail for multipart uploads older than 48 hours.
Even aborting old multipart uploads is not possible.

To resolve this issue, we should stop checking satStreamID for
expiration.

Change-Id: Ieaf53ed3cd800cdd08843676c2d9490b007d962e
This commit is contained in:
Kaloyan Raev 2021-01-22 18:54:45 +02:00 committed by Fadila
parent b8fd8c775a
commit ba2907be1b

View File

@ -1746,10 +1746,6 @@ func (endpoint *Endpoint) unmarshalSatStreamID(ctx context.Context, streamID sto
return nil, err
}
if satStreamID.CreationDate.Before(time.Now().Add(-satIDExpiration)) {
return nil, errs.New("stream ID expired")
}
return satStreamID, nil
}