Christopher Browne cbbrowne at ca.afilias.info
Tue Apr 12 13:22:09 PDT 2011
Add sl_event_lock table that is what gets locked to prevent mis-serialization of creation of sl_event entries.

Add pre_event_create() function that takes out that lock which will be called by anything that does an event create.

Add code to upgrade schema function which creates sl_event_lock if it is missing.

Slon SYNC thread needs to call pre_event_create() before calling createEvent().

Various functions for slonik actions call pre_event_create() before calling createEvent().

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=slony1-engine.git;a=commitdiff;h=9d094283c786b5dcf69c25b49acb920aedf6b174

Modified Files
--------------
src/backend/slony1_base.sql  |   14 ++++++++++++++
src/backend/slony1_funcs.sql |   15 +++++++++++++++
src/slon/sync_thread.c       |    3 ++-
src/slonik/slonik.c          |   42 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 73 insertions(+), 1 deletions(-)



More information about the Slony1-commit mailing list