[SCM] CTDB repository - branch 112-patches created - 64fb20dcfcff5bc067d97bff39e491e40ca45a3f

Andrew Tridgell tridge at samba.org
Fri Feb 5 04:25:46 MST 2010


The branch, 112-patches has been created
        at  64fb20dcfcff5bc067d97bff39e491e40ca45a3f (commit)

- Log -----------------------------------------------------------------
commit 64fb20dcfcff5bc067d97bff39e491e40ca45a3f
Author: Andrew Tridgell <tridge at samba.org>
Date:   Fri Feb 5 17:11:29 2010 +1100

    fixed printing of high latency

commit 82f2ed827caab8999cb3f958c70821a23490fdde
Author: Andrew Tridgell <tridge at samba.org>
Date:   Thu Feb 4 14:36:14 2010 +1100

    ctdb: when we fill the client packet queue we need to drop the client
    
    We can't just drop packets to the list, as those packets could be part
    of the core protocol the client is using. This happens (for example)
    when Samba is doing a traverse. If we drop a traverse packet then
    Samba hangs indefinately. We are better off dropping the ctdb socket
    to Samba.

commit ac885788678255f0c8a091f88ee4d440edf818a9
Author: Andrew Tridgell <tridge at samba.org>
Date:   Thu Feb 4 14:14:18 2010 +1100

    ctdb: move ctdb_io.c to use TLIST_*() macros
    
    This will make large packet queues much more efficient

commit a781f05f9b80e288ae43ca16f109890942937e62
Author: Andrew Tridgell <tridge at samba.org>
Date:   Thu Feb 4 14:13:49 2010 +1100

    util: added TLIST_*() macros
    
    The TLIST_*() macros are like the DLIST_*() macros, but take both a
    head and tail pointer for the list. This means that adding an element
    to the end of the list is efficient (it doesn't need to walk the
    list).
    
    We should move all uses of the DLIST_*() macros which use
    DLIST_ADD_END() to use the TLIST_*() macros instead.

commit 3ec469339e56f5221960ac5b3a69bf8fb553b8f5
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Thu Feb 4 09:54:06 2010 +1100

    We only queued up to 1000 packets per queue before we start dropping
    packets, to avoid the queue to grow excessively if smbd has blocked.
    
    This could cause traverse packets to become discarded in case the main
    smbd daemon does a traverse of a database while there is a recovery
    (sending a erconfigured message to smbd, causing an avalanche of unlock
    messages to be sent across the cluster.)
    
    This avalance of messages could cause also the tranversal message to be
    discarded  causing the main smbd process to hang indefinitely waiting
    for the traversal message that will never arrive.
    
    Bump the maximum queue length before starting to discard messages from
    1000 to 1000000 and at the same time rework the queueing slightly so we
    can append messages cheaply to the queue instead of walking the list
    from head to tail every time.

commit 4af34ca1bdb4895c2dd1ec280ef14cffab7fc815
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Thu Feb 4 06:37:41 2010 +1100

    Drop the debug level for logging fd creation to DEBUG_DEBUG

commit 04e40deac8d0c7edf907135ae81ac961c23135c3
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Tue Feb 2 08:03:37 2010 +1100

    Version 1.0.112-5

commit 72d6ae64ab5ece7645b02054d617b71e231d4741
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Jan 29 18:21:09 2010 +0100

    tdb: fix an early release of the global lock that can cause data corruption
    
    There was a bug in tdb where the
    
                    tdb_brlock(tdb, GLOBAL_LOCK, F_UNLCK, F_SETLKW, 0, 1);
    
    (ending the transaction-"mutex") was done before the
    
                            /* remove the recovery marker */
    
    This means that when a transaction is committed there is a window where another
    opener of the file sees the transaction marker while the transaction committer
    is still fully functional and working on it. This led to transaction being
    rolled back by that second opener of the file while transaction_commit() gave
    no error to the caller.
    
    This patch moves the F_UNLCK to after the recovery marker was removed, closing
    this window.

commit 3e2b1839a9f8419eeeb7f22ea5925f6c42f32a65
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Thu Jan 21 18:51:54 2010 +1100

    version 1.0.112-4

commit eb68bc6f27f9b10abbd5bc4e4fd62b7af54c9abb
Author: Martin Schwenke <martin at meltin.net>
Date:   Thu Jan 21 13:40:03 2010 +1100

    onnode: update algorithm for finding nodes file.
    
    2 changes:
    
    * If a relative nodes file is specified via -f or $CTDB_NODES_FILE but
      this file does not exist then try looking for the file in /etc/ctdb
      (or $CTDB_BASE if set).
    
    * If a nodes file is specified via -f or $CTDB_NODES_FILE but this
      file does not exist (even when checked as per above) then do not
      fall back to /etc/ctdb/nodes ((or $CTDB_BASE if set).  The old
      behaviour was surprising and hid errors.
    
    Signed-off-by: Martin Schwenke <martin at meltin.net>

commit cd8b1eb75f430c589e71b2837dab9d83a12bb43e
Author: Martin Schwenke <martin at meltin.net>
Date:   Thu Jan 21 13:16:18 2010 +1100

    onnode - respect $CTDB_BASE rather than hard-coding /etc/ctdb.
    
    Signed-off-by: Martin Schwenke <martin at meltin.net>

commit 910debaa673319a193374ecc75048e3b8da7564d
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Wed Jan 20 15:14:47 2010 +1100

    Version 1.0.112-3

commit 287054d93ce4136d2f3db783ce4b5d3af3d14726
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Wed Jan 20 10:35:02 2010 +1100

    source the nfs sysconfig file from the 61.nfstickles script

commit 232f9f40926573fe0f1fb1782280f693d37c38fe
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Wed Jan 13 11:23:23 2010 +1100

    new version 1.0.112-2

-----------------------------------------------------------------------


-- 
CTDB repository


More information about the samba-cvs mailing list