Skip to content

Commit

Permalink
[server] Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ua741 committed Aug 12, 2024
1 parent 6259a97 commit 641a9c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/pkg/controller/filedata/replicate.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (c *Controller) StartReplication() error {
if workerURL == "" {
log.Infof("replication.worker-url was not defined, file data will downloaded directly during replication")
} else {
log.Infof("Worker URL to download objects for replication v3 is: %s", workerURL)
log.Infof("Worker URL to download objects for file-data replication is: %s", workerURL)
}
c.workerURL = workerURL

Expand Down
1 change: 1 addition & 0 deletions server/pkg/repo/filedata/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func (r *Repository) InsertOrUpdate(ctx context.Context, data filedata.Row) erro
WHERE elem IS NOT NULL AND elem != EXCLUDED.latest_bucket
),
replicated_buckets = ARRAY[]::s3region[],
pending_sync = true,
latest_bucket = EXCLUDED.latest_bucket,
updated_at = now_utc_micro_seconds()
WHERE file_data.is_deleted = false`
Expand Down

0 comments on commit 641a9c9

Please sign in to comment.