1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb/server
Martin Schwenke 6dc75c7d24 ctdb-daemon: When releasing an IP, update PNN in callback
When an error occurs so an IP address is not released then the PNN in
the VNN is currently incorrectly updated.

Instead, update the PNN in the callback when the release is
successful.  Also, explicitly update the PNN on redundant releases.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12158

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Sun Aug 21 22:45:33 CEST 2016 on sn-devel-144
2016-08-21 22:45:32 +02:00
..
ctdb_banning.c ctdb:banning: Improve debug message in ctdb_ban_node_event() 2016-06-01 14:02:20 +02:00
ctdb_call.c ctdb: Use ctdb_wait_for_process_to_exit() 2016-02-23 07:23:18 +01:00
ctdb_cluster_mutex.c ctdb-daemon: Use lib/util functions instead of redefinitions 2016-06-08 10:33:19 +02:00
ctdb_cluster_mutex.h ctdb-cluster-mutex: Fix #endif decoration 2016-06-08 04:52:18 +02:00
ctdb_control.c ctdb-daemon: Clean up SET_DB_PRIORITY/GET_DB_PRIORITY deprecation 2016-08-08 08:17:34 +02:00
ctdb_daemon.c ctdb-daemon: Fix CID 1362723 Unchecked return value from library 2016-08-17 23:00:25 +02:00
ctdb_event_helper.c ctdb-daemon: Use lib/util functions instead of redefinitions 2016-06-08 10:33:19 +02:00
ctdb_fork.c ctdb-daemon: Check if method is initialized before calling 2016-07-05 10:53:15 +02:00
ctdb_freeze.c ctdb-daemon: Drop implementation of global transaction controls 2016-07-28 05:00:17 +02:00
ctdb_keepalive.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_lock_helper.c ctdb-locking: Conditionally set real-time priority in lock helper 2016-06-20 16:21:19 +02:00
ctdb_lock.c ctdb-locking: Remove ctdb_db_prio_iterator function 2016-07-25 21:29:43 +02:00
ctdb_logging_file.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_logging_syslog.c ctdb-logging: Fix CID 1272823 Unchecked return value from library 2016-08-17 23:00:25 +02:00
ctdb_logging.c ctdb-daemon: Fix CID 1125627 Resource leak (RESOURCE_LEAK) 2016-08-08 08:17:34 +02:00
ctdb_ltdb_server.c ctdb-daemon: Fix CID 1272855 Operands don't affect result 2016-08-17 23:00:24 +02:00
ctdb_monitor.c ctdb-daemon: Fix CID 1125575 Operands don't affect result 2016-08-17 23:00:24 +02:00
ctdb_mutex_fcntl_helper.c ctdb-mutex: Avoid corner case where helper is already reparented to init 2016-08-08 08:17:34 +02:00
ctdb_persistent.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_recover.c ctdb-daemon: Fix CID 1363067 Resource leak (RESOURCE_LEAK) 2016-08-03 05:29:24 +02:00
ctdb_recoverd.c ctdb-recoverd: Don't directly release rogue IP addresses 2016-08-17 23:00:26 +02:00
ctdb_recovery_helper.c ctdb-recovery-helper: Fix format-nonliteral warning 2016-08-10 08:18:16 +02:00
ctdb_server.c ctdb-daemon: Drop function ctdb_set_recovery_lock_file() 2016-06-08 00:51:28 +02:00
ctdb_statistics.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_takeover.c ctdb-daemon: When releasing an IP, update PNN in callback 2016-08-21 22:45:32 +02:00
ctdb_traverse.c ctdb: Use ctdb_wait_for_process_to_exit() 2016-02-23 07:23:18 +01:00
ctdb_tunables.c ctdb-daemon: Use refactored tunable code 2016-07-25 21:29:46 +02:00
ctdb_update_record.c ctdb: Use ctdb_wait_for_process_to_exit() 2016-02-23 07:23:18 +01:00
ctdb_uptime.c ctdb-server: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
ctdb_vacuum.c ctdb-vacuum: Do not use freeze_mode outside freeze code 2016-07-25 21:29:42 +02:00
ctdbd.c ctdb-daemon: Fix CID 1364527/8/9: Null pointer dereferences (NULL_RETURNS) 2016-07-28 05:00:18 +02:00
eventscript.c ctdb-daemon: Fix format-nonliteral warning 2016-08-10 08:18:16 +02:00
ipalloc_common.c ctdb-ipalloc: Drop implicit dependency on ctdb-common 2016-07-04 15:42:26 +02:00
ipalloc_deterministic.c ctdb-ipalloc: Make no_ip_failback a boolean 2016-07-04 15:42:25 +02:00
ipalloc_lcp2.c ctdb-ipalloc: Make no_ip_failback a boolean 2016-07-04 15:42:25 +02:00
ipalloc_nondeterministic.c ctdb-ipalloc: Drop implicit dependency on ctdb-common 2016-07-04 15:42:26 +02:00
ipalloc_private.h ctdb-ipalloc: IP allocation state is now an opaque structure 2016-07-04 15:42:25 +02:00
ipalloc.c ctdb-ipalloc: ipalloc() returns public IP list 2016-07-04 15:42:25 +02:00
ipalloc.h ctdb-ipalloc: IP allocation state is now an opaque structure 2016-07-04 15:42:25 +02:00