nodes so that the db is created on them as well
when we send this broadcast we must use the correct control and not
assume all databases created are of the temporary kind
/* tell all the other nodes about this database */
ctdb_daemon_send_control(ctdb, CTDB_BROADCAST_ALL, 0,
- CTDB_CONTROL_DB_ATTACH, 0, CTDB_CTRL_FLAG_NOREPLY,
+ persistent?CTDB_CONTROL_DB_ATTACH_PERSISTENT:
+ CTDB_CONTROL_DB_ATTACH,
+ 0, CTDB_CTRL_FLAG_NOREPLY,
indata, NULL, NULL);
/* success */