Mon Dec 10 12:19:14 PST 2007
- Previous message: [Slony1-general] Delayed replication: Explicitly creating a slony-I backlog, and then telling the slon daemon to replicate changes all at once.
- Next message: [Slony1-general] Delayed replication: Explicitly creating a slony-I backlog, and then telling the slon daemon to replicate changes all at once.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/8/2007 12:52 PM, Peter Geoghegan wrote: > Hello, > > I'm using slony to power a point-of-sale system - changes in the > back-office are replicated amongst tills (subscribers). For business > logic reasons, I'd like to be able to create a backlog of changes, and > then have the slon daemon replicate all such changes upon being > explicitly told to do so, rather then having the daemon automatically > replicate all changes to the replication set. > > Is this possible? How so? Artificially delaying the replication process for purposes of point in time recovery was considered in the original design of the Slony-I system, but the mechanism was actually never implemented. The idea was not quite how you describe it above, where slon would wait until some sort of command kicks off the catch up process, but rather that slon would ignore events unless they are at least X minutes old. This could relatively simple be implemented in the query that looks for new events in the remote_listen thread, by adding a qualification that suppresses those "too new" events. I will see if we can easily add the feature to the upcoming 2.0 release of Slony-I. Jan > > Thanks in advance, > > Peter > > > ------------------------------------------------------------------------ > > _______________________________________________ > Slony1-general mailing list > Slony1-general at lists.slony.info > http://lists.slony.info/mailman/listinfo/slony1-general -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck at Yahoo.com #
- Previous message: [Slony1-general] Delayed replication: Explicitly creating a slony-I backlog, and then telling the slon daemon to replicate changes all at once.
- Next message: [Slony1-general] Delayed replication: Explicitly creating a slony-I backlog, and then telling the slon daemon to replicate changes all at once.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list