We can not be holding a chainlock at this stage, so the tdb_chainunlock() call is...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 9 Jun 2010 05:12:26 +0000 (15:12 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 9 Jun 2010 05:13:22 +0000 (15:13 +1000)
( a child process might be holding the lock, but not the main daemon)

server/ctdb_ltdb_server.c

index 1ce728349beb8eaf68a45a774c1ca15498623d8a..03c62ac50abbcb0dd74fa3a9e82ccc393903b3d1 100644 (file)
@@ -141,7 +141,6 @@ int ctdb_ltdb_lock_requeue(struct ctdb_db_context *ctdb_db,
        /* now the contended path */
        h = ctdb_lockwait(ctdb_db, key, lock_fetch_callback, state);
        if (h == NULL) {
-               tdb_chainunlock(tdb, key);
                return -1;
        }