Rev 144: - merge volkers debug changes in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Wed Apr 18 01:20:26 GMT 2007


------------------------------------------------------------
revno: 144
revision-id: tridge at samba.org-20070418012024-b2374733a1050bb6
parent: tridge at samba.org-20070417123923-99d9e4b5174f992d
parent: vl at samba.org-20070417214033-0ppjm03j5z7ivyno
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Wed 2007-04-18 11:20:24 +1000
message:
  - merge volkers debug changes
  
  - fixed memory leaks in the 3 packet receive routines. The problem was
    that the ctdb_call logic would occasionally complete and free a
    incoming packet, which would then be freed again in the packet
    receive routine. The solution is to make the packet a child of a
    temporary context in the receive routine then free that temporary
    context. That allows other routines to keep or free the packet if
    they want to, while allowing us to safely free it (via a free of the
    temporary context) in the receive function
added:
  lib/util/debug.c               debug.c-20070417155854-2i3crb0irl716qft-1
  lib/util/debug.h               debug.h-20070417155854-2i3crb0irl716qft-2
modified:
  Makefile.in                    makefile.in-20061117234101-o3qt14umlg9en8z0-1
  common/ctdb.c                  ctdb.c-20061127094323-t50f58d65iaao5of-2
  common/ctdb_call.c             ctdb_call.c-20061128065342-to93h6eejj5kon81-1
  common/ctdb_client.c           ctdb_client.c-20070411010216-3kd8v37k61steeya-1
  common/ctdb_daemon.c           ctdb_daemon.c-20070409200331-3el1kqgdb9m4ib0g-1
  common/ctdb_ltdb.c             ctdb_ltdb.c-20061128065342-to93h6eejj5kon81-2
  include/ctdb_private.h         ctdb_private.h-20061117234101-o3qt14umlg9en8z0-13
  include/includes.h             includes.h-20061117234101-o3qt14umlg9en8z0-17
  lib/talloc/talloc.c            talloc.c-20070125040949-7t3f5zdl1q4z9hyv-51
  lib/talloc/talloc.h            talloc.h-20070125040949-7t3f5zdl1q4z9hyv-52
  tests/ctdb_fetch.c             ctdb_fetch.c-20070405031748-f7gslozfj3rwh5ie-1
  tests/fetch.sh                 fetch.sh-20070405031756-lomzqpjyqg3xd1kv-1
    ------------------------------------------------------------
    merged: vl at samba.org-20070417214033-0ppjm03j5z7ivyno
    parent: vl at samba.org-20070417210610-cniquu72dkzi02bz
    committer: Volker Lendecke <vl at samba.org>
    branch nick: vl-ctdb
    timestamp: Tue 2007-04-17 23:40:33 +0200
    message:
      Clean up the call_states correctly
    ------------------------------------------------------------
    merged: vl at samba.org-20070417210610-cniquu72dkzi02bz
    parent: vl at samba.org-20070417210330-yyjwl440m39rhh0y
    committer: Volker Lendecke <vl at samba.org>
    branch nick: vl-ctdb
    timestamp: Tue 2007-04-17 23:06:10 +0200
    message:
      Be less verbose
    ------------------------------------------------------------
    merged: vl at samba.org-20070417210330-yyjwl440m39rhh0y
    parent: vl at samba.org-20070417192322-b6pxth53nyla1qhr
    committer: Volker Lendecke <vl at samba.org>
    branch nick: vl-ctdb
    timestamp: Tue 2007-04-17 23:03:30 +0200
    message:
      Some more debug and two memleak fixes
    ------------------------------------------------------------
    merged: vl at samba.org-20070417192322-b6pxth53nyla1qhr
    parent: vl at samba.org-20070417155939-tbvpngrh5m95qrdk
    committer: Volker Lendecke <vl at samba.org>
    branch nick: vl-ctdb
    timestamp: Tue 2007-04-17 21:23:22 +0200
    message:
      typo
    ------------------------------------------------------------
    merged: vl at samba.org-20070417155939-tbvpngrh5m95qrdk
    parent: tridge at samba.org-20070417123923-99d9e4b5174f992d
    committer: Volker Lendecke <vl at samba.org>
    branch nick: vl-ctdb
    timestamp: Tue 2007-04-17 17:59:39 +0200
    message:
      Add timestamps to debug output.

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


More information about the samba-cvs mailing list