π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[server] doc
Neeraj Guptad494bb8d3827
diff --git a/server/pkg/controller/filedata/controller.go b/server/pkg/controller/filedata/controller.goindex fe1b217d5e..eca74f7aa0 100644--- a/server/pkg/controller/filedata/controller.go+++ b/server/pkg/controller/filedata/controller.go@@ -255,8 +255,9 @@ func (c *Controller) getS3FileMetadataParallel(ctx *gin.Context, dbRows []fileDafunc (c *Controller) fetchS3FileMetadata(ctx context.Context, row fileData.Row, ctxLogger *log.Entry) (*fileData.S3FileMetadata, error) {dc := row.LatestBucket- // :todo:neeraj make it configurable- // treat b5 as preferred bucket for reading+ // :todo:neeraj make it configurable to+ // specify preferred dc to read from+ // and fallback logic to read from different bucket when we fail to read from preferred dcif dc == "b6" {if array.StringInList("b5", row.ReplicatedBuckets) {dc = "b5"