8056d18d202a89665d696746fc5df04bc7ff718f
[amitay/ctdb.git] / NEWS
1 Changes in CTDB 2.3
2 ===================
3
4 User-visible changes
5 --------------------
6
7 * 2 new configuration variables for 60.nfs eventscript:
8
9   - CTDB_MONITOR_NFS_THREAD_COUNT
10   - CTDB_NFS_DUMP_STUCK_THREADS
11
12   See ctdb.sysconfig for details.
13
14 Important bug fixes
15 -------------------
16
17 * ctdb tool should not exit from a retry loop if a control times out
18   (e.g. under high load).  This simple fix will stop an exit from the
19   retry loop on any error.
20
21 Important internal changes
22 --------------------------
23
24 *
25
26
27 Changes in CTDB 2.2
28 ===================
29
30 User-visible changes
31 --------------------
32
33 * The "stopped" event has been removed.
34
35   The "ipreallocated" event is now run when a node is stopped.  Use
36   this instead of "stopped".
37
38 * New --pidfile option for ctdbd, used by initscript
39
40 * The 60.nfs eventscript now uses configuration files in
41   /etc/ctdb/nfs-rpc-checks.d/ for timeouts and actions instead of
42   hardcoding them into the script.
43
44 * Notification handler scripts can now be dropped into /etc/ctdb/notify.d/.
45
46 * The NoIPTakeoverOnDisabled tunable has been renamed to
47   NoIPHostOnAllDisabled and now works properly when set on individual
48   nodes.
49
50 * New ctdb subcommand "runstate" prints the current internal runstate.
51   Runstates are used for serialising startup.
52
53 Important bug fixes
54 -------------------
55
56 * The Unix domain socket is now set to non-blocking after the
57   connection succeeds.  This avoids connections failing with EAGAIN
58   and not being retried.
59
60 * Fetching from the log ringbuffer now succeeds if the buffer is full.
61
62 * Fix a severe recovery bug that can lead to data corruption for SMB clients.
63
64 * The statd-callout script now runs as root via sudo.
65
66 * "ctdb delip" no longer fails if it is unable to move the IP.
67
68 * A race in the ctdb tool's ipreallocate code was fixed.  This fixes
69   potential bugs in the "disable", "enable", "stop", "continue",
70   "ban", "unban", "ipreallocate" and "sync" commands.
71
72 * The monitor cancellation code could sometimes hang indefinitely.
73   This could cause "ctdb stop" and "ctdb shutdown" to fail.
74
75 Important internal changes
76 --------------------------
77
78 * The socket I/O handling has been optimised to improve performance.
79
80 * IPs will not be assigned to nodes during CTDB initialisation.  They
81   will only be assigned to nodes that are in the "running" runstate.
82
83 * Improved database locking code.  One improvement is to use a
84   standalone locking helper executable - the avoids creating many
85   forked copies of ctdbd and potentially running a node out of memory.
86
87 * New control CTDB_CONTROL_IPREALLOCATED is now used to generate
88   "ipreallocated" events.
89
90 * Message handlers are now indexed, providing a significant
91   performance improvement.