Rev 586: merge from ronnie in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Fri Aug 3 03:18:45 GMT 2007


------------------------------------------------------------
revno: 586
revision-id: tridge at samba.org-20070803031844-125s6acze6qei0es
parent: tridge at samba.org-20070725014327-ieb2qrj0jelas1uw
parent: sahlberg at ronnie-20070803004737-dbqottunfi7p80xw
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Fri 2007-08-03 13:18:44 +1000
message:
  merge from ronnie
added:
  common/rb_tree.c               rb_tree.c-20070724085023-9r1nhv41taadrjde-1
  common/rb_tree.h               rb_tree.h-20070724085025-nboaewff1rsepopq-1
  tests/rb_perftest.c            rb_perftest.c-20070730005029-azh0e7q5wzuu40vj-1
  utils/                         utils-20070803001844-k0ekeu031hzlt8bg-1
  utils/smnotify/                smnotify-20070803001844-k0ekeu031hzlt8bg-2
  utils/smnotify/smnotify.c      smnotify.c-20070803001844-k0ekeu031hzlt8bg-3
  utils/smnotify/smnotify.x      smnotify.x-20070803001844-k0ekeu031hzlt8bg-4
modified:
  Makefile.in                    makefile.in-20061117234101-o3qt14umlg9en8z0-1
  client/ctdb_client.c           ctdb_client.c-20070411010216-3kd8v37k61steeya-1
  doc/ctdb.1                     ctdb.1-20070609004027-2618fsab2br6vqha-1
  doc/ctdb.1.html                ctdb.1.html-20070609004024-w2r7qblwi5s3iw4a-1
  doc/ctdb.1.xml                 ctdb.1.xml-20070608070258-bjuf7701h1qc1b05-2
  include/ctdb_private.h         ctdb_private.h-20061117234101-o3qt14umlg9en8z0-13
  server/ctdb_control.c          ctdb_control.c-20070426122724-j6gkpiofhbwdin63-1
  server/ctdb_daemon.c           ctdb_daemon.c-20070409200331-3el1kqgdb9m4ib0g-1
  server/ctdb_takeover.c         ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
  server/ctdb_tunables.c         ctdb_tunables.c-20070604095258-4m34d7cm1qa7yos9-1
  tools/ctdb.c                   ctdb_control.c-20070426122705-9ehj1l5lu2gn9kuj-1
    ------------------------------------------------------------
    revno: 432.1.170
    merged: sahlberg at ronnie-20070803004737-dbqottunfi7p80xw
    parent: sahlberg at ronnie-20070803001848-w2u3sfi8v2t8l7t3
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Fri 2007-08-03 10:47:37 +1000
    message:
      dont wait for the default rpc timeout when trying to bing to a client.
      abort after 3 seconds
      
      fix makefile so that we generate the header before trying to compile 
      smnotify.o
    ------------------------------------------------------------
    revno: 432.1.169
    merged: sahlberg at ronnie-20070803001848-w2u3sfi8v2t8l7t3
    parent: sahlberg at ronnie-20070802215352-ujnogy0p598r30l2
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Fri 2007-08-03 10:18:48 +1000
    message:
      add a small tool that can send smnotify packets
    ------------------------------------------------------------
    revno: 432.1.168
    merged: sahlberg at ronnie-20070802215352-ujnogy0p598r30l2
    parent: sahlberg at ronnie-20070730061014-vedsftfi8gfne3iw
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Fri 2007-08-03 07:53:52 +1000
    message:
      update the manpage for the -n option to make it clear we are referring 
      to the node number and not the node hostname
    ------------------------------------------------------------
    revno: 432.1.167
    merged: sahlberg at ronnie-20070730061014-vedsftfi8gfne3iw
    parent: sahlberg at ronnie-20070730005035-li72bn3fbhuj8bfh
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Mon 2007-07-30 16:10:14 +1000
    message:
      after we have checked dest address that it is a public address
      update addr to the source address so the rpintout in the log matches
      the client that attached to samba
    ------------------------------------------------------------
    revno: 432.1.166
    merged: sahlberg at ronnie-20070730005035-li72bn3fbhuj8bfh
    parent: sahlberg at ronnie-20070729230934-wdfa2rgmeompp1ex
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Mon 2007-07-30 10:50:35 +1000
    message:
      add a small tool to compare rb tree with a timeval_compare()+add an 
      entry to the end of the list DLIST (worst case insert)
    ------------------------------------------------------------
    revno: 432.1.165
    merged: sahlberg at ronnie-20070729230934-wdfa2rgmeompp1ex
    parent: sahlberg at ronnie-20070725212236-tvyahtpetlbtxjfq
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Mon 2007-07-30 09:09:34 +1000
    message:
      fix the remaining bugs with tree delete that testing found.
      
      the binary tree should work reasonably well now for delete.
      insert always worked fine.
    ------------------------------------------------------------
    revno: 432.1.164
    merged: sahlberg at ronnie-20070725212236-tvyahtpetlbtxjfq
    parent: sahlberg at ronnie-20070725212132-sndrylobe319czjw
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Thu 2007-07-26 07:22:36 +1000
    message:
      remove dead code
    ------------------------------------------------------------
    revno: 432.1.163
    merged: sahlberg at ronnie-20070725212132-sndrylobe319czjw
    parent: sahlberg at ronnie-20070725075355-b4c2aacb712kmtaa
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Thu 2007-07-26 07:21:32 +1000
    message:
      fix some remaining bugs with deleting nodes
    ------------------------------------------------------------
    revno: 432.1.162
    merged: sahlberg at ronnie-20070725075355-b4c2aacb712kmtaa
    parent: sahlberg at ronnie-20070725072204-1wnvpdo3gm6vmciv
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-07-25 17:53:55 +1000
    message:
      there were situations where we were not guaranteed that a sibling had 2 
      child nodes which would cause a segv when trying to dereferencing those 
      two child nodes in order to read their color
    ------------------------------------------------------------
    revno: 432.1.161
    merged: sahlberg at ronnie-20070725072204-1wnvpdo3gm6vmciv
    parent: sahlberg at ronnie-20070724220358-wukyjffqf92auqom
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-07-25 17:22:04 +1000
    message:
      if sibling is NULL it is a leaf node and thus black.
    ------------------------------------------------------------
    revno: 432.1.160
    merged: sahlberg at ronnie-20070724220358-wukyjffqf92auqom
    parent: sahlberg at ronnie-20070724085113-ndbefl8ezwr92ufn
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Wed 2007-07-25 08:03:58 +1000
    message:
      no need to have a separate assignment of the tcparray pointer followed 
      by a talloc_steal()
      use the returned pointer in talloc_steal as the value to assign
    ------------------------------------------------------------
    revno: 432.1.159
    merged: sahlberg at ronnie-20070724085113-ndbefl8ezwr92ufn
    parent: sahlberg at ronnie-20070723214651-rbj2m1lozwht6u3n
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Tue 2007-07-24 18:51:13 +1000
    message:
      initial version of talloc based red-black trees
      very initial version
    ------------------------------------------------------------
    revno: 432.1.158
    merged: sahlberg at ronnie-20070723214651-rbj2m1lozwht6u3n
    parent: sahlberg at ronnie-20070720091145-9g2birjlofekrfc7
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Tue 2007-07-24 07:46:51 +1000
    message:
      when we build the arp structure for sending gratious arp (and tcp 
      tickles) just talloc_steal the enture tcp_array into the arp 
      structure instead of copying each of the entries into a linked list
      and then releasing the tcparray.
    ------------------------------------------------------------
    revno: 432.1.157
    merged: sahlberg at ronnie-20070720091145-9g2birjlofekrfc7
    parent: sahlberg at ronnie-20070720070408-2p5yo9bxzkjubrd1
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Fri 2007-07-20 19:11:45 +1000
    message:
      set the tcp tickle update flag to true once we have done a takeover and 
      tickled all connections
      othervise the other nodes will still remember this list until next time 
      we have had a connection/client closing.
    ------------------------------------------------------------
    revno: 432.1.156
    merged: sahlberg at ronnie-20070720070408-2p5yo9bxzkjubrd1
    parent: sahlberg at ronnie-20070720050555-vwnvjwk88oqfdvxl
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Fri 2007-07-20 17:04:08 +1000
    message:
      when a client connects with TCP_CLIENT  we should look at the 
      destination address to find the public address   not the source address
    ------------------------------------------------------------
    revno: 432.1.155
    merged: sahlberg at ronnie-20070720050555-vwnvjwk88oqfdvxl
    parent: sahlberg at ronnie-20070720000641-r74qq8emtfj62fui
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Fri 2007-07-20 15:05:55 +1000
    message:
      updated ctdb tickle management
      
      there is an array for each node/public address that contains tcp tickles
      
      we send a TCP_ADD as a broadcast to all nodes when a client is added
      
      if tcp tickles are removed, they are only removed immediately from the 
      local node.
      once every 20 seconds a node will push/broadcast out the tickle list for 
      all public addresses it manages.   this will remove any deleted tickles 
      from the remote nodes
    ------------------------------------------------------------
    revno: 432.1.154
    merged: sahlberg at ronnie-20070720000641-r74qq8emtfj62fui
    parent: sahlberg at ronnie-20070719050727-ra10ng1k5lx9mqaq
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Fri 2007-07-20 10:06:41 +1000
    message:
      change the tickle list from one global list into an array per public 
      ip/node
      
      once we have started sending all tickles for a specific ip   delete the 
      entire array   so that the tickles dont remain forever in the ctdb 
      server
      
      add a control to send the full list of every tickle that is registered 
      for a particular public ip/node
    ------------------------------------------------------------
    revno: 432.1.153
    merged: sahlberg at ronnie-20070719050727-ra10ng1k5lx9mqaq
    parent: sahlberg at ronnie-20070718212953-uxz9c9dmhw2e7r1y
    parent: tridge at samba.org-20070719050454-0tgn9mqc96g2bimu
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Thu 2007-07-19 15:07:27 +1000
    message:
      merge from tridge
    ------------------------------------------------------------
    revno: 432.1.152
    merged: sahlberg at ronnie-20070718212953-uxz9c9dmhw2e7r1y
    parent: sahlberg at ronnie-20070715223609-414am63j2rn2lawv
    parent: tridge at samba.org-20070718101357-gv3ugzegujz4f5vu
    committer: Ronnie Sahlberg <sahlberg at ronnie>
    branch nick: ctdb
    timestamp: Thu 2007-07-19 07:29:53 +1000
    message:
      merge from tridge

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


More information about the samba-cvs mailing list