How do you handle conflicts?

misc client related stuff

Moderators: AniDB, AniDB API

Locked
User avatar
Antono
Posts: 55
Joined: Fri May 27, 2005 6:38 am
Location: Greece

How do you handle conflicts?

Post by Antono » Mon Oct 10, 2005 6:58 pm

How do you handle conflicts?

What happens if I change an entry in AniDB MyList for a file to A and (while offline) I change the same property for the same file in AOM to B? What happens when I connect the client? Who "wins", AOM or AniDB.net and what property does the file take (A or B?)?

...just asking so that I don't run into trouble... :wink:
Last edited by Antono on Tue Oct 11, 2005 7:29 am, edited 1 time in total.

PetriW
AniDB Staff
Posts: 1522
Joined: Sat May 24, 2003 2:34 pm

Post by PetriW » Mon Oct 10, 2005 7:11 pm

Whatever gets first wins but you can't change stuff when offline with aom anyway. It has to connect to AniDB for the updates to take effect.

User avatar
Antono
Posts: 55
Joined: Fri May 27, 2005 6:38 am
Location: Greece

Post by Antono » Mon Oct 10, 2005 11:10 pm

OK, I see...

So, if I change the property to A through AniDB.net and then connect the client (which had set the same property to B while offline), AOM will re-change the property to B.

...er... this means that whoever gets last wins... right? :oops:

PetriW
AniDB Staff
Posts: 1522
Joined: Sat May 24, 2003 2:34 pm

Post by PetriW » Tue Oct 11, 2005 6:05 am

Yes.

Locked