persistent: add a ctdb_persistent_state member to the ctdb_db context.
authorMichael Adam <obnox@samba.org>
Tue, 22 Feb 2011 23:00:04 +0000 (00:00 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 24 Feb 2011 09:35:25 +0000 (10:35 +0100)
To be used for tracking running transaction commits through recoveries.

include/ctdb_private.h

index 3f368704a2b8b87551059d979035c7840532d72e..41c193b45b625d5926a4faf22e7feb062769e11f 100644 (file)
@@ -509,6 +509,7 @@ struct ctdb_db_context {
        int pending_requests;
        struct lockwait_handle *lockwait_active;
        struct lockwait_handle *lockwait_overflow;
+       struct ctdb_persistent_state *persistent_state;
 };