[mb-devel] Database replication?

Elliot Chance elliotchance at gmail.com
Sat Jul 22 02:32:21 UTC 2006


Ahhh thats makes sense. Few more questions

1. So in the Pending, the first id matches with the data in PendingData, but
does that id have any bearing on the table?

2. What is the second id in Pending for?

3. In PendingData, what does the 't' and 'f' represent?

Thanks

On 7/22/06, Steve Wyles <steve at inhouse.co.uk> wrote:
>
> On Sat, 22 Jul 2006, Elliot Chance wrote:
>
> > Can someone please explain what the fields in "Pending" and "PedingData"
> > mean? Like the 'u', 'i', etc
>
> u is update
> i is insert
> d is delete
>
> Have a look at he code in
> http://svn.musicbrainz.org/mb_server/trunk/admin/replication/
>
> specifically ProcessReplicationChanges
>
> and also
>
> http://svn.musicbrainz.org/mb_server/trunk/cgi-bin/MusicBrainz/Server/dbmirror.pm
> which contains the code that unpacks the records.
>
> Steve
>
> _______________________________________________
> MusicBrainz-devel mailing list
> MusicBrainz-devel at lists.musicbrainz.org
> http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel
>



-- 
Cheerfully,
Elliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.musicbrainz.org/pipermail/musicbrainz-devel/attachments/20060722/feee207d/attachment.htm


More information about the MusicBrainz-devel mailing list