Matt Stancliff
65e0452886
Fix data loss when save AOF/RDB with no free space
...
Previously, the (!fp) would only catch lack of free space
under OS X. Linux waits to discover it can't write until
it actually writes contents to disk.
(fwrite() returns success even if the underlying file
has no free space to write into. All the errors
only show up at flush/sync/close time.)
Fixes antirez/redis#1604
2014-03-24 21:10:00 +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-03-11 11:09:37 +01:00
2014-03-11 11:09:37 +01:00
2014-03-24 21:10:00 +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
2014-02-27 15:52:43 +01:00
2013-12-04 16:20:03 +01:00
2014-03-21 09:57:02 +01:00
2014-03-11 11:10:09 +01:00
2014-03-21 09:57:02 +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
2014-03-21 09:57:02 +01:00
2014-03-21 09:57:02 +01:00
2014-03-21 09:57:02 +01:00
2014-03-21 09:57:02 +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
2013-01-19 10:59:44 +01:00
2014-02-28 16:00:14 +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-03-11 11:09:37 +01:00
2014-01-08 17:18:34 +01:00
2014-03-21 09:57:02 +01:00
2013-08-19 15:01:21 +02:00
2012-11-08 18:31:32 +01:00
2014-03-21 09:57:02 +01:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2014-03-24 21:10:00 +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
2014-03-13 15:11:41 +01:00
2014-03-24 21:10:00 +01:00
2014-03-24 21:10:00 +01:00
2014-03-24 12:03:41 +01:00
2013-08-19 15:01:21 +02:00
2013-01-19 10:59:44 +01:00
2014-02-05 16:38:10 +01:00
2014-01-22 09:54:55 +01:00
2013-07-16 15:43:36 +02:00
2014-02-13 12:16:31 +01:00
2014-03-24 10:23:55 +01:00
2013-08-12 11:38:21 +02:00
2014-03-24 21:10:00 +01:00
2013-02-27 11:50:35 +01:00
2013-01-19 10:59:44 +01: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
2014-03-11 11:10:33 +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
2014-03-11 16:13:39 +01: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
2014-03-24 12:03:41 +01:00
2014-03-24 12:03:41 +01:00