Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Testing p2.mirrorsURL

I have opened bug 383145 on this p2.mirrorsURL and .blobstore issue.

Pretty sure it is "broken" (or, working as designed, and just designed for peer-artifacts) and we need to give more specific advice for repos.

Alexander, you've done so much already ... but, I'm curious, do you still have that old "blobstore" version around?

I suspect if you used .blobstore in the p2.mirrorsURL, such as

then you would see the mirroring system "work" as you first expected.

This may be less than ideal, though, since then p2 would look for ONLY pack.gz files on the mirrors, and if one of those failed, it would not know where to look for the canonical jar file (other than back home, at

So, I think peer-artifacts is the recommendation we want to go with, unless p2 can come up with some improved method? (And, that's assuming my theory about adding .blobstore to mirrorsURL does indeed "fix" the original problem you were seeing).

I think for now, further discussion can be had in bug 383145.

But ... we may want to improve this part of our advice/coordination in future?

From:        Alexander Nyßen <alexander.nyssen@xxxxxxxxx>
To:        Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>,
Date:        06/20/2012 11:49 AM
Subject:        Re: [cross-project-issues-dev] Testing p2.mirrorsURL
Sent by:        cross-project-issues-dev-bounces@xxxxxxxxxxx

Then I would like to forward the question to the p2 experts. Does p2.mirrorsURL work in combination with .blobstore?


Am 20.06.2012 um 17:46 schrieb Denis Roy:

.blobstore directories are being mirrored:


On 06/20/2012 11:36 AM, David M Williams wrote:
I find this "interesting" for a couple of reasons.

It sounds like we do not mirror .blobstore directories? Denis, can you confirm rsync rules? It would kind of make sense not to by default, since "dot directory" ... but, seems ".blobstore" should be an exception.

I'm not sure of all the ins and outs (a p2 expert could speak to this) but sometimes "publishing a repo" puts all the jar.pack.gz files in .blobstore directory instead of as peers to their corresponding jars.

Second, if we "must not" use .blobstore for eclipse foundation mirrored repos, I am not sure we have ever documented that or provided any "how to". And, if I recall, the "how to" isn't obvious ... not too hard once you know the trick ... but, I do not recall the trick right off (I believe it has to do with "copying properties from existing repo" that does not use .blobstore, but I don't recall how to "get" that original repo?).

Sounds like you solved this recently, Alexander, ... perhaps you could add a note to
if/when Denis confirms "can not" (or, "should not", or "must not") mirror .blobstore directories?

[And, I should apologize in advance if this is actually documented/discussed somewhere already ... sometimes I forget what I don't know :) ]

Thank you both!

Denis Roy <denis.roy@xxxxxxxxxxx>
06/20/2012 09:08 AM
Re: [cross-project-issues-dev] Testing p2.mirrorsURL
Sent by:        


Thanks for testing that.

I hope other projects are also testing their repos for mirror
functionality...  I will accept criticism that is
slow due to our bandwidth limitations, but if mirrors are not being
used, that makes matters much worse.



On 06/20/2012 12:45 AM, Alexander Nyßen wrote:
> Just in case somebody might be interested: it seems that the mirror problem was caused by having the update-site in a format that included a .blobstore for the pack.gz files. Having converted the update-site to a form, where pack.gz files are located next to the related bundles, I could observe a different output this morning (after there are now a couple of mirrors that have updated themselves to the changes).
> Cheers,
> Alexander

cross-project-issues-dev mailing list


Dr. Alexander Nyßen

Telefon: +49 (0) 231 / 98 60-210
Telefax: +49 (0) 231 / 98 60-211
Mobil: +49 (0) 151 /  17396743

itemis AG
Am Brambusch 15-24
44536 Lünen

Rechtlicher Hinweis:

Amtsgericht Dortmund, HRB 20621

Vorstand: Jens Wagener (Vors.), Wolfgang Neuhaus, Dr. Georg Pietrek, Jens Trompeter, Sebastian Neus

Aufsichtsrat: Dr. Burkhard Igel (Vors.), Stephan Grollmann, Michael Neuhaus

cross-project-issues-dev mailing list

Back to the top