linagora / tmail-backend

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

[Postgresql] Implement PostgresBlobIdList #922

Closed quantranhong1999 closed 5 months ago

quantranhong1999 commented 7 months ago

How

DoD

SingleSaveBlobStoreContract backed by Postgres?

Arsnael commented 7 months ago
quantranhong1999 commented 5 months ago

https://github.com/linagora/tmail-backend/pull/988

vttranlina commented 5 months ago

sorry for rethinking it

I think we can re-use PostgresBlobStorageTable directly One index for the blob_id column is enough

The dedicated table blobId_list for Cassandra I guess comes from some limited query on single this column

quantranhong1999 commented 5 months ago

Hmm the issue is we do not always use the Postgres blob implementation. We can use S3 for example.

vttranlina commented 5 months ago

Hmm the issue is we do not always use the Postgres blob implementation. We can use S3 for example.

it makes sense I forgot it