ctdb-daemon: Add implementation for CTDB_CONTROL_DB_ATTACH_REPLICATED control
[sfrench/samba-autobuild/.git] / ctdb / server / ctdb_control.c
index 8deb7c8..4048443 100644 (file)
@@ -275,6 +275,11 @@ static int32_t ctdb_control_dispatch(struct ctdb_context *ctdb,
                                        CTDB_DB_FLAGS_PERSISTENT, client_id,
                                        c, async_reply);
 
+       case CTDB_CONTROL_DB_ATTACH_REPLICATED:
+         return ctdb_control_db_attach(ctdb, indata, outdata,
+                                       CTDB_DB_FLAGS_REPLICATED, client_id,
+                                       c, async_reply);
+
        case CTDB_CONTROL_SET_CALL:
                return control_not_implemented("SET_CALL", NULL);