1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

server: create recdb.tdb.X in /var/ctdb/state/

metze

(This used to be ctdb commit 92e05282d6c4f16e55d914cc3bde3738ea2d44ad)
This commit is contained in:
Stefan Metzmacher 2009-11-23 15:36:45 +01:00
parent 9a96ae0c97
commit 77d43d01aa

View File

@ -1010,7 +1010,9 @@ static struct tdb_wrap *create_recdb(struct ctdb_context *ctdb, TALLOC_CTX *mem_
unsigned tdb_flags; unsigned tdb_flags;
/* open up the temporary recovery database */ /* open up the temporary recovery database */
name = talloc_asprintf(mem_ctx, "%s/recdb.tdb", ctdb->db_directory); name = talloc_asprintf(mem_ctx, "%s/recdb.tdb.%u",
ctdb->db_directory_state,
ctdb->pnn);
if (name == NULL) { if (name == NULL) {
return NULL; return NULL;
} }