Article View: borland.public.interbase.replication
Article #167Re: Home-made replicator...
From: Steve Ball
Date: Thu, 24 Jul 2003 00:49
Date: Thu, 24 Jul 2003 00:49
34 lines
2674 bytes
2674 bytes
In short there are a number of confict resolution things the replicator does. in short, if it has an update and the record is being used, it will report a lock and then update it next time through. "Jonathan Neve" <jonathan@!nospam!microtec.fr> wrote in message news:3f012904@newsgroups.borland.com... > Craig Stuntz [TeamB] wrote: > > With asynchronous replication your referential constraints can't stop a > > user on DB 1 from deleting a record referenced by a newly inserted > > record on DB 2. > > > > In the real world, the easiest way to use replication is to establish > > rules for who can change what which prevent conflicts from happening in > > the first place and stick to them. This might mean that "average Joe" > > users are allowed to insert lookup table entries but not delete them, > > and that they are only allowed to edit records they create. Things > > they edit will be sent to the master DB, and the rest of the DB, which > > they are not allowed to change, is sent back from the master. > > I see. I hadn't though very much about all that. Currently, in my > application, I make an empty update of the record the user wants to > delete or update before letting them do so, and if there's a lock > conflict, I show an error message. This works very well. Do you think > there would be any way of doing the same sort of thing on the replicated > system (e.g. Holding the record locked as long as the change hasn't been > sent to the server)? > > How are conflicts handled with IBReplicator? > > Thanks, > Jonathan Neve. >
Technical Details
Message-ID:
<3f1f2d0e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!diablo.voicenet.com!in.100proofnews.com!in.100proofnews.com!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3efc1db3@newsgroups.borland.com> <3efc4e0f@newsgroups.borland.com> <3f012904@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f89d7,a0215dc343694833 X-Google-Attributes: gidf89d7,public X-Google-ArrivalTime: 2003-07-23 18:16:46 PST From: "Steve Ball" <SteveBall@noSpam.uku.co.uk> Newsgroups: borland.public.interbase.replication References: <3efc1db3@newsgroups.borland.com> <3efc4e0f@newsgroups.borland.com> <3f012904@newsgroups.borland.com> Subject: Re: Home-made replicator... Date: Thu, 24 Jul 2003 01:49:20 +0100 Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 81.5.146.45 Message-ID: <3f1f2d0e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059007758 81.5.146.45 (23 Jul 2003 17:49:18 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!diablo.voicenet.com!in.100proofnews.com!in.100proofnews.com!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail