Islam AbdelRahman
ab01da5437
Support SST files with Global sequence numbers
...
Summary:
- Update SstFileWriter to include a property for a global sequence number in the SST file `rocksdb.external_sst_file.global_seqno`
- Update TableProperties to be aware of the offset of each property in the file
- Update BlockBasedTableReader and Block to be able to honor the sequence number in `rocksdb.external_sst_file.global_seqno` property and use it to overwrite all sequence number in the file
Something worth mentioning is that we don't update the seqno in the index block since and when doing a binary search, the reason for that is that it's guaranteed that SST files with global seqno will have only one user_key and each key will have seqno=0 encoded in it, This mean that this key is greater than any other key with seqno> 0. That mean that we can actually keep the current logic for these blocks
Test Plan: unit tests
Reviewers: andrewkr, yhchiang, yiwu, sdong
Reviewed By: sdong
Subscribers: hcz, andrewkr, dhruba
Differential Revision: https://reviews.facebook.net/D62523
2016-10-03 16:12:39 -07:00
..
2016-07-07 11:35:40 -07:00
2016-05-20 07:42:18 -07:00
2016-02-22 21:32:19 -08:00
2016-09-17 22:30:43 -07:00
2016-09-17 22:30:43 -07:00
2016-09-12 15:31:42 -07:00
2016-09-12 15:31:42 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -07:00
2016-09-26 10:39:07 -07:00
2016-09-23 16:34:04 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-08-16 08:21:43 -07:00
2016-08-16 08:21:43 -07:00
2016-08-10 12:37:43 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 17:16:38 -07:00
2016-09-23 16:34:04 -07:00
2016-09-13 21:11:59 -07:00
2016-09-13 21:11:59 -07:00
2016-09-02 14:16:31 -07:00
2016-09-13 21:11:59 -07:00
2016-09-13 21:11:59 -07:00
2016-09-27 18:20:57 -07:00
2016-02-09 15:12:00 -08:00
2016-04-28 17:50:58 -07:00
2016-02-09 15:12:00 -08:00
2016-08-23 13:53:49 -07:00
2016-06-17 10:30:47 -07:00
2016-03-31 17:12:18 -07:00
2016-07-26 17:56:36 -07:00
2016-09-01 14:33:24 -07:00
2016-09-23 16:34:04 -07:00
2016-07-21 14:32:12 -07:00
2016-10-03 16:12:39 -07:00
2016-05-17 13:11:56 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -07:00
2016-02-09 15:12:00 -08:00
2016-09-28 15:42:06 -07:00
2016-09-28 15:42:06 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -07:00
2016-03-31 17:12:18 -07:00
2016-09-07 12:37:45 -07:00
2016-09-27 18:20:57 -07:00
2016-09-29 13:19:58 -07:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2016-02-09 15:12:00 -08:00
2016-09-27 11:17:15 -07:00
2016-09-30 09:06:43 -07:00
2016-09-07 15:41:54 -07:00
2016-07-19 15:46:20 -07:00
2016-03-04 18:15:29 -08:00
2016-09-21 11:05:07 -07:00
2016-08-11 19:10:16 -07:00
2016-09-19 12:04:35 -07:00
2016-09-27 18:20:57 -07:00
2016-08-10 12:37:43 -07:00
2016-09-23 16:34:04 -07:00
2016-04-25 23:02:14 -07:00
2016-09-27 18:20:57 -07:00
2016-10-03 16:12:39 -07:00
2016-07-05 11:57:14 -07:00
2016-04-29 11:35:00 -07:00
2016-04-29 11:35:00 -07:00
2016-02-09 15:12:00 -08:00
2016-10-03 16:12:39 -07:00
2016-08-10 13:56:50 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -07:00
2016-07-08 17:50:51 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2016-09-21 20:22:09 -07:00
2016-09-21 14:24:08 -07:00
2016-08-10 13:16:41 -07:00
2016-09-22 11:56:18 -07:00
2016-02-09 15:12:00 -08:00
2016-07-08 17:50:51 -07:00
2016-05-22 22:00:15 -07:00
2016-05-22 22:00:15 -07:00
2016-02-09 15:12:00 -08:00
2016-07-21 16:29:06 -07:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2016-02-09 15:12:00 -08:00
2016-07-13 19:33:57 -07:00
2016-07-05 18:11:25 -07:00
2016-09-23 16:34:04 -07:00
2016-07-21 10:10:41 -07:00
2016-05-10 14:06:07 -07:00
2016-09-30 09:06:43 -07:00
2016-09-30 09:06:43 -07:00
2016-07-05 18:11:25 -07:00
2016-07-25 15:31:41 -07:00
2016-02-09 15:12:00 -08:00
2016-07-20 09:49:03 -07:00
2016-07-20 09:49:03 -07:00
2016-07-20 09:49:03 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-04-26 14:22:07 -07:00
2016-08-11 11:54:17 -07:00
2016-07-20 11:23:31 -07:00
2016-09-08 14:45:32 -07:00
2016-06-24 16:29:43 -07:00
2016-09-23 16:34:04 -07:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-08-25 04:39:26 -07:00
2016-09-02 14:16:31 -07:00
2016-09-23 16:34:04 -07:00
2016-05-19 14:24:48 -07:00
2016-05-19 14:24:48 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -07:00
2016-09-13 21:11:59 -07:00
2016-07-20 11:23:31 -07:00
2016-07-20 11:23:31 -07:00
2016-02-09 15:12:00 -08:00
2016-07-12 14:15:32 -07:00
2016-07-13 15:36:22 -07:00
2016-09-13 21:11:59 -07:00
2016-09-27 18:20:57 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -07:00
2016-09-23 16:34:04 -07:00
2016-08-16 08:16:04 -07:00
2016-08-16 08:16:04 -07:00
2016-09-30 09:06:43 -07:00
2016-09-21 11:05:07 -07:00
2016-04-18 10:18:41 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-08-16 08:16:04 -07:00
2016-06-25 08:29:40 +01:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00