storj / team-metainfo

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

[SSC] Combine segments selection and coping under new stream ID into one query #128

Open mniewrzal opened 2 years ago

mniewrzal commented 2 years ago

Currently, while doing server-side copy we are first selecting all segments which should be copied and later we are doing second query to copy (insert) them under new stream id. We should be able to combine those two queries into one.