← Back to team overview

gtg-gsoc team mailing list archive

Re: Invernizzi - GSoC code review

 

Le samedi 22 mai 2010 à 01:39 +0200, Luca Invernizzi a écrit :
> .
> > 
> > Aren't tasks identified as N@M, where M is the backend number?
> Yes, but since now we have multiple backends, we just use uuids for tasks.
> That's because a task can be stored in multiple backends, so a solution like
> id@backend@pid would be a very good one.

Luca > From my long explanations a while ago, it appeared that having
tasks stored in multiple backends would be a huge problem (conflict
handling) and not specially intuitive nor useful.

It was decided to have task only in one backend (if I remember, the
discussion was mainly with JML).

My suggestion for now : 

1) consider that each task is in one backend and only one.
2) backend number should be unique (use uuid)
3) stay with the task@backend TID for now.
4) For retrocompatibility reason, be aware that "@1" means the first
localfile

That's the easiest way I can see to go forward. We will care about other
problems later.

Lionel




Follow ups

References