antirez
e4a1d6bb5d
Cluster: atomic update of nodes.conf file.
...
The way the file was generated was unsafe and leaded to nodes.conf file
corruption (zero length file) on server stop/crash during the creation
of the file.
The previous file update method was as simple as open with O_TRUNC
followed by the write call. While the write call was a single one with
the full payload, ensuring no half-written files for POSIX semantics,
stopping the server just after the open call resulted into a zero-length
file (all the nodes information lost!).
2014-01-15 10:31:20 +01:00
..
2012-04-13 17:52:33 -07:00
2013-01-19 10:59:44 +01:00
2012-11-08 18:31:32 +01:00
2013-12-05 16:35:32 +01:00
2013-06-28 16:39:49 +02:00
2013-06-28 16:39:49 +02:00
2013-06-28 16:39:49 +02:00
2013-06-28 16:39:49 +02:00
2013-06-28 16:39:49 +02:00
2014-01-10 15:02:39 +01:00
2014-01-10 15:18:41 +01:00
2014-01-14 15:37:49 +01:00
2012-11-08 18:31:32 +01:00
2013-01-19 10:59:44 +01:00
2012-11-22 10:12:11 +01:00
2013-07-22 10:31:38 +02:00
2013-12-04 16:20:03 +01:00
2014-01-15 10:31:20 +01:00
2013-11-29 17:37:06 +01:00
2013-12-23 12:50:27 +01:00
2013-02-27 11:50:35 +01:00
2013-01-19 10:59:44 +01:00
2012-04-09 12:20:47 +02:00
2012-11-29 14:20:08 +01:00
2013-12-10 18:46:24 +01:00
2013-12-10 18:46:24 +01:00
2013-12-10 18:46:24 +01:00
2013-12-10 18:46:24 +01:00
2012-02-14 16:11:46 +01:00
2013-09-25 09:26:36 +02:00
2013-05-17 17:19:02 +09:00
2013-05-14 11:23:16 +02:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2013-01-19 10:59:44 +01:00
2013-12-12 15:19:39 +01:00
2013-12-13 13:10:05 +01:00
2013-01-21 12:34:22 +01:00
2013-02-24 18:17:46 +01:00
2013-03-26 10:58:10 +01:00
2014-01-14 16:33:16 +01:00
2014-01-08 17:18:34 +01:00
2013-12-05 16:35:32 +01:00
2013-08-19 15:01:21 +02:00
2012-11-08 18:31:32 +01:00
2013-06-21 12:07:53 +02:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2013-12-10 18:47:31 +01:00
2013-01-19 10:59:44 +01:00
2013-10-28 18:13:42 +01:00
2012-11-08 18:31:32 +01:00
2013-12-05 16:35:32 +01:00
2013-09-26 10:12:46 +02:00
2013-12-17 10:00:33 +01:00
2014-01-14 16:33:16 +01:00
2014-01-14 16:33:16 +01:00
2013-08-19 15:01:21 +02:00
2013-01-19 10:59:44 +01:00
2014-01-08 14:28:16 +01:00
2013-07-16 15:41:24 +02:00
2013-07-16 15:43:36 +02:00
2013-12-05 16:35:32 +01:00
2013-12-12 16:33:29 +08:00
2013-08-12 11:38:21 +02:00
2014-01-14 09:23:26 +01:00
2013-02-27 11:50:35 +01:00
2013-01-19 10:59:44 +01:00
2010-07-01 14:38:51 +02:00
2013-07-22 10:31:38 +02:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2013-12-05 16:35:32 +01:00
2012-05-02 22:41:50 +02:00
2013-11-05 15:47:50 +01:00
2013-12-10 18:46:24 +01:00
2013-12-13 11:34:21 +01:00
2013-07-22 10:31:38 +02:00
2013-12-05 16:35:32 +01:00
2012-11-08 18:31:32 +01:00
2013-07-24 18:59:54 +02:00
2013-07-02 12:08:07 +02:00
2011-07-06 15:22:00 +02:00
2013-05-27 11:44:04 +02:00
2013-08-19 15:01:21 +02:00
2012-11-08 18:31:32 +01:00
2013-12-05 16:35:32 +01:00
2013-09-03 15:15:51 +02:00
2013-12-05 16:35:32 +01:00
2012-11-19 11:47:35 +01:00