Replication #2

Closed
opened 2018-10-28 14:50:29 -07:00 by dave · 1 comment
Owner

Support relaying builds to replicas of the repo.

Design:

  • Database push queue - when some new image is uploaded, have a queue entry added referencing it
  • Some periodic task watches this queue and calls a normal "POST /addpkg" request on targets
  • How to do multi-master?
  • If artifact already exists, return "409 Conflict". Sender accepts this as a success, receiver doesn't add to the replication queue.
Support relaying builds to replicas of the repo. Design: * Database push queue - when some new image is uploaded, have a queue entry added referencing it * Some periodic task watches this queue and calls a normal "POST /addpkg" request on targets * How to do multi-master? * If artifact already exists, return "409 Conflict". Sender accepts this as a success, receiver doesn't add to the replication queue.
Author
Owner

no longer necessary with the current design

no longer necessary with the current design
dave closed this issue 2020-01-30 23:33:33 -08:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: dave/docker-artifact#2
No description provided.