storj / team-metainfo

GNU Affero General Public License v3.0
0 stars 0 forks source link

Don't drop empty inline segments at the end of part only for gateway #78

Open mniewrzal opened 2 years ago

mniewrzal commented 2 years ago

S3 protocol requires an ability to have an empty part at the end of an object. In our case, we need to create empty inline segments and we would like to avoid creating segments as much as possible. We may want to have this functionality only for usage. Options would be:

  1. add config to uplink.Config
  2. add some sort of ctx wrapper, like s3comp.Do(ctx)