1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

ctdbd: Print set db sticky message after it's set

Signed-off-by: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit 824dcec35ec461d78e22b2ea109473b32bfe3972)
This commit is contained in:
Amitay Isaacs 2013-07-30 14:17:55 +10:00
parent 1d9d1d8cf9
commit b77fec9381

View File

@ -1484,9 +1484,6 @@ int32_t ctdb_control_set_db_priority(struct ctdb_context *ctdb, TDB_DATA indata)
int ctdb_set_db_sticky(struct ctdb_context *ctdb, struct ctdb_db_context *ctdb_db)
{
DEBUG(DEBUG_NOTICE,("set db sticky %s\n", ctdb_db->db_name));
if (ctdb_db->sticky) {
return 0;
}
@ -1500,6 +1497,8 @@ int ctdb_set_db_sticky(struct ctdb_context *ctdb, struct ctdb_db_context *ctdb_d
ctdb_db->sticky = true;
DEBUG(DEBUG_NOTICE,("set db sticky %s\n", ctdb_db->db_name));
return 0;
}