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
(This used to be ctdb commit
106f816d4a0814ca4418de051289d9fc62df7dd2)
/* 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 */