How do you handle conflicts?

misc client related stuff

Moderators: AniDB, AniDB API

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

How do you handle conflicts?

Post by Antono »

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 »

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.
Antono
Posts: 55
Joined: Fri May 27, 2005 6:38 am
Location: Greece

Post by Antono »

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 »

Yes.
Locked