Rev 590: merged new event script calling code from ronnnie in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Mon Aug 20 01:10:33 GMT 2007


------------------------------------------------------------
revno: 590
revision-id: tridge at samba.org-20070820011030-d5abuhgpuitxrnzh
parent: tridge at samba.org-20070815014803-uzyr9wpzhgs8gye8
parent: sahlberg at ronnie-20070816013435-5hnitt79ydv67dai
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Mon 2007-08-20 11:10:30 +1000
message:
  merged new event script calling code from ronnnie
added:
  tests/events.d/                events.d-20070820010905-b84k62b3epcbt964-1
renamed:
  config/events => config/events.d/00.ctdb events-20070529030121-04fjh63cxfh8v1pj-1
  tests/events => tests/events.d/00.test events-20070601105359-jc8p0xp6iq7phful-1
modified:
  Makefile.in                    makefile.in-20061117234101-o3qt14umlg9en8z0-1
  common/rb_tree.c               rb_tree.c-20070724085023-9r1nhv41taadrjde-1
  common/rb_tree.h               rb_tree.h-20070724085025-nboaewff1rsepopq-1
  common/system_linux.c          system.c-20070525071636-a5n1ihghjtppy08r-3
  config/ctdb.init               ctdb.init-20070527204758-biuh7znabuwan3zn-6
  config/ctdb.sysconfig          ctdb.sysconfig-20070527204758-biuh7znabuwan3zn-7
  config/events.d/50.samba       samba-20070601105340-vlcvnp6euoj3zdwy-3
  config/events.d/README         readme-20070604074656-9t8b9fryiqc1nyrb-1
  include/ctdb_private.h         ctdb_private.h-20061117234101-o3qt14umlg9en8z0-13
  packaging/RPM/ctdb.spec        ctdb.spec-20070527204758-biuh7znabuwan3zn-3
  server/ctdb_takeover.c         ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
  server/ctdbd.c                 ctdbd.c-20070411085044-dqmhr6mfeexnyt4m-1
  server/eventscript.c           eventscript.c-20070704074533-95f10rsay8um8wrr-1
  tests/rb_test.c                rb_test.c-20070808012115-zxl6646v2t2axezt-1
  tests/start_daemons.sh         start_daemons.sh-20070604074603-fbb8x90srun04xn0-1
  config/events.d/00.ctdb        events-20070529030121-04fjh63cxfh8v1pj-1
    ------------------------------------------------------------
    revno: 432.1.207
    merged: sahlberg at ronnie-20070816013435-5hnitt79ydv67dai
    parent: sahlberg at ronnie-20070816011816-wwl7t49a9hhrrlvv
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Thu 2007-08-16 11:34:35 +1000
    message:
      start winbind before smbd
    ------------------------------------------------------------
    revno: 432.1.206
    merged: sahlberg at ronnie-20070816011816-wwl7t49a9hhrrlvv
    parent: sahlberg at ronnie-20070815050842-qpvkk2up7x18wd47
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Thu 2007-08-16 11:18:16 +1000
    message:
      we should start winbindd before we start smb
    ------------------------------------------------------------
    revno: 432.1.205
    merged: sahlberg at ronnie-20070815050842-qpvkk2up7x18wd47
    parent: sahlberg at ronnie-20070815050131-ggx5ymhcurh3ydbu
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-08-15 15:08:42 +1000
    message:
      add text to the event script timeout log on how to find out which script 
      timed out
    ------------------------------------------------------------
    revno: 432.1.204
    merged: sahlberg at ronnie-20070815050131-ggx5ymhcurh3ydbu
    parent: sahlberg at ronnie-20070815044606-7u96z6zdx7l9sy8f
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-08-15 15:01:31 +1000
    message:
      change the now rather small /etc/ctdb/events script into a service 
      specific script /etc/ctdb/events.d/00.ctdb
      
      get rid of CTDB_EVENTS_SCRIPT and --event-script
    ------------------------------------------------------------
    revno: 432.1.203
    merged: sahlberg at ronnie-20070815044606-7u96z6zdx7l9sy8f
    parent: sahlberg at ronnie-20070815044403-60x0gwtm1l12zxy3
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-08-15 14:46:06 +1000
    message:
      add a comment that the talloc_free also removes the script from the tree
    ------------------------------------------------------------
    revno: 432.1.202
    merged: sahlberg at ronnie-20070815044403-60x0gwtm1l12zxy3
    parent: sahlberg at ronnie-20070815023441-xsa4ow3scmf7f5ht
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-08-15 14:44:03 +1000
    message:
      call the service specific event scripts directly from the forked child 
      instead for from /etc/ctdb/events so that we can get better debugging 
      output in the logs when something fails in the scripts
    ------------------------------------------------------------
    revno: 432.1.201
    merged: sahlberg at ronnie-20070815023441-xsa4ow3scmf7f5ht
    parent: sahlberg at ronnie-20070815013827-9s5b45qqzg61xi2t
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-08-15 12:34:41 +1000
    message:
      zero out the sa struct to supress a valgrind error
    ------------------------------------------------------------
    revno: 432.1.200
    merged: sahlberg at ronnie-20070815013827-9s5b45qqzg61xi2t
    parent: sahlberg at ronnie-20070815013601-x0txpe8k1021svco
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-08-15 11:38:27 +1000
    message:
      fix typo
    ------------------------------------------------------------
    revno: 432.1.199
    merged: sahlberg at ronnie-20070815013601-x0txpe8k1021svco
    parent: sahlberg at ronnie-20070815005721-0x8tfdt37dm0okri
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-08-15 11:36:01 +1000
    message:
      add a description on how the event scripts works to the README and make 
      sure it is installed in /etc/ctdb/events.d
    ------------------------------------------------------------
    revno: 432.1.198
    merged: sahlberg at ronnie-20070815005721-0x8tfdt37dm0okri
    parent: sahlberg at ronnie-20070815004810-j6ecvidgw2oz0e8j
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-08-15 10:57:21 +1000
    message:
      add a function to return the first entry that is stored in a tree where 
      the key is an array of uint32_t
    ------------------------------------------------------------
    revno: 432.1.197
    merged: sahlberg at ronnie-20070815004810-j6ecvidgw2oz0e8j
    parent: sahlberg at ronnie-20070815000100-nylksobxxjgul4la
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-08-15 10:48:10 +1000
    message:
      comment that ctdb_event_script_v() is called from a forked childs 
      context and thus can make blocking calls
    ------------------------------------------------------------
    revno: 432.1.196
    merged: sahlberg at ronnie-20070815000100-nylksobxxjgul4la
    parent: sahlberg at ronnie-20070814215901-4wlkcizak28frm0c
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-08-15 10:01:00 +1000
    message:
      add a wrapper function to create the key used to insert/lookup a certain 
      tcp connection in the tree that stores the tcp connections to kill by 
      sending an RST
      
      add a define that specified the keylength instead of hardcoding it as 4

Diff too large for email (700, the limit is 200).


More information about the samba-cvs mailing list