storj / uplink

Storj network Go library
MIT License
122 stars 17 forks source link

Filtering metadata doesn't work well with more than one listing object page #85

Closed mniewrzal closed 2 years ago

mniewrzal commented 2 years ago

Listing objects is using iterator which is using metainfo ListObjects endpoint. This endpoint returns results in pages (1000 entries at once). Recently we added support for filtering system and custom metadata on satellite side. Now we have a bug because filtering options (system/custom) are applied only to first listed page. It was working well in the past because filtering was done on client side and we always get all data from satellite.

storjBuildBot commented 2 years ago

Change https://review.dev.storj.io/c/storj/uplink/+/6920 mentions this issue.