Igor Canadi
b088c83e6e
Don't delete files when column family is dropped
...
Summary:
To understand the bug read t5943287 and check out the new test in column_family_test (ReadDroppedColumnFamily), iter 0.
RocksDB contract allowes you to read a drop column family as long as there is a live reference. However, since our iteration ignores dropped column families, AddLiveFiles() didn't mark files of a dropped column families as live. So we deleted them.
In this patch I no longer ignore dropped column families in the iteration. I think this behavior was confusing and it also led to this bug. Now if an iterator client wants to ignore dropped column families, he needs to do it explicitly.
Test Plan: Added a new unit test that is failing on master. Unit test succeeds now.
Reviewers: sdong, rven, yhchiang
Reviewed By: yhchiang
Subscribers: dhruba, leveldb
Differential Revision: https://reviews.facebook.net/D32535
2015-03-19 17:04:29 -07:00
..
2015-02-26 16:25:56 -08:00
2015-02-26 16:25:56 -08:00
2015-02-23 14:10:09 -08:00
2015-03-17 15:04:37 -07:00
2015-03-19 17:04:29 -07:00
2015-03-14 15:01:43 -07:00
2015-03-19 17:04:29 -07:00
2015-03-17 14:08:00 -07:00
2015-03-17 15:04:37 -07:00
2015-03-14 08:25:27 -07:00
2015-03-13 10:45:40 -07:00
2015-03-17 14:08:00 -07:00
2015-03-18 18:25:15 -07:00
2015-03-18 18:25:15 -07:00
2015-03-02 22:40:41 -08:00
2015-03-02 22:40:41 -08:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2015-03-18 13:50:52 -07:00
2015-03-19 17:04:29 -07:00
2015-02-04 21:39:45 -08:00
2014-12-22 12:20:17 -08:00
2014-11-26 11:37:59 -08:00
2015-03-19 17:04:29 -07:00
2015-03-16 21:07:54 -07:00
2015-03-17 14:08:00 -07:00
2015-02-26 11:28:41 -08:00
2014-09-08 15:04:34 -07:00
2015-03-18 18:18:12 -07:00
2015-03-17 14:08:00 -07:00
2014-11-11 16:47:22 -05:00
2015-02-26 11:28:41 -08:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2014-11-11 16:47:22 -05:00
2014-11-11 16:47:22 -05:00
2015-03-17 14:08:00 -07:00
2015-01-22 14:32:03 -08:00
2015-01-22 14:32:03 -08:00
2015-03-17 15:04:37 -07:00
2015-03-13 10:45:40 -07:00
2015-03-13 10:45:40 -07:00
2014-10-02 14:33:16 -07:00
2015-01-26 11:48:07 -08:00
2015-02-26 11:28:41 -08:00
2015-02-26 11:28:41 -08:00
2015-03-18 17:03:59 -07:00
2015-03-18 17:03:59 -07:00
2015-02-12 09:54:48 -08:00
2015-03-17 14:08:00 -07:00
2015-02-04 21:39:45 -08:00
2014-01-02 16:32:31 -08:00
2015-02-23 14:10:09 -08:00
2014-01-27 14:49:10 -08:00
2015-03-17 14:08:00 -07:00
2015-02-20 11:07:17 -08:00
2013-10-16 17:48:41 -07:00
2015-02-24 16:24:53 -08:00
2015-02-18 11:49:31 -08:00
2014-12-02 12:09:20 -08:00
2014-12-02 12:09:20 -08:00
2015-03-18 17:03:59 -07:00
2015-03-18 17:03:59 -07:00
2015-03-18 17:03:59 -07:00
2015-03-18 17:03:59 -07:00
2015-01-13 12:27:28 -08:00
2014-03-24 17:57:13 -07:00
2014-11-06 11:14:28 -08:00
2014-07-30 17:24:36 -07:00
2014-03-26 18:11:41 -07:00
2015-02-26 11:28:41 -08:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2015-03-17 15:04:37 -07:00
2015-03-17 14:08:00 -07:00
2014-12-02 12:09:20 -08:00
2015-03-17 19:23:08 -07:00
2015-02-26 11:28:41 -08:00
2014-10-28 17:52:32 -07:00
2014-09-29 11:09:09 -07:00
2015-03-17 14:08:00 -07:00
2014-11-24 20:44:49 -08:00
2015-02-26 11:28:41 -08:00
2014-11-06 11:14:28 -08:00
2015-02-26 11:28:41 -08:00
2015-03-17 14:08:00 -07:00
2015-02-06 08:44:30 -08:00
2014-10-31 16:34:38 -07:00
2015-03-17 14:08:00 -07:00
2014-10-31 11:59:54 -07:00
2015-02-06 08:44:30 -08:00
2015-03-17 14:08:00 -07:00
2015-03-19 17:04:29 -07:00
2015-03-02 22:40:41 -08:00
2015-03-17 15:04:37 -07:00
2015-02-26 11:28:41 -08:00
2014-11-10 17:39:38 -05:00
2015-03-17 19:23:08 -07:00
2014-11-18 10:20:10 -08:00
2015-03-17 14:08:00 -07:00
2015-02-26 11:28:41 -08:00
2015-03-17 14:08:00 -07:00
2014-09-08 11:20:25 -07:00
2014-09-13 14:14:10 -07:00
2014-09-12 16:23:58 -07:00
2015-02-04 21:39:45 -08:00
2014-12-02 12:09:20 -08:00