From mboxrd@z Thu Jan 1 00:00:00 1970 From: Janne Johansson Subject: Re: download.ceph.com repository changes Date: Tue, 17 Sep 2019 15:44:13 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6468761219286283839==" Return-path: In-Reply-To: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: To: Alfredo Deza Cc: "ceph-maintainers-Qp0mS5GaXlQ@public.gmane.org" , ceph-users , ceph-devel List-Id: ceph-devel.vger.kernel.org --===============6468761219286283839== Content-Type: multipart/alternative; boundary="0000000000002030cd0592bfeb60" --0000000000002030cd0592bfeb60 Content-Type: text/plain; charset="UTF-8" Den tis 17 sep. 2019 kl 15:15 skrev Alfredo Deza : > Reviving this old thread. > * When a release is underway, the repository breaks because syncing > packages takes hours. The operation is not atomic. > Couldn't they be almost atomic? I believe both "yum" and "apt" would only consider rpms/debs if they are listed in the repo index files*, so you should be able to copy out rpms and debs and at the final step "mv" the index files into place, making the packages visible in a super short time? *) .xml.gz for rpms, db/ files for debs. Obviously this is a very small part of the list of problems, but I think anyone mirroring huge sets of rpms/debs would have faced and solved this particular nit by now? -- May the most significant bit of your life be positive. --0000000000002030cd0592bfeb60 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Den tis 17 sep. 2019 kl 15:15 skrev Alfre= do Deza <adeza-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>:
Reviving this old thread.
* When a release is underway, the r= epository breaks because syncing
packages takes hours. The operation is not atomic.
Couldn't they be almost atomic?
I believe both &q= uot;yum" and "apt" would only consider rpms/debs if they are= listed in the repo index files*, so you should be able to copy out rpms an= d debs and at the final step "mv" the index files into place, mak= ing the packages visible in a super short time?
=C2=A0
*) .xml.gz for rpms, db/ files for debs.

Obv= iously this is a very small part of the list of problems, but I think anyon= e mirroring huge sets of rpms/debs would have faced and solved this particu= lar nit by now?


--
May the most significant bit of your life be posi= tive.
--0000000000002030cd0592bfeb60-- --===============6468761219286283839== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ceph-users mailing list -- ceph-users-a8pt6IJUokc@public.gmane.org To unsubscribe send an email to ceph-users-leave-a8pt6IJUokc@public.gmane.org --===============6468761219286283839==--