Sagar Vemuri
440621aab8
Fix Copying of data between buffers in FilePrefetchBuffer ( #4100 )
...
Summary:
Copy data between buffers inside FilePrefetchBuffer only when chunk length is greater than 0. Otherwise AlignedBuffer was accessing memory out of its range causing crashes.
Removing the tracking of buffer length outside of `AlignedBuffer`, i.e. in `FilePrefetchBuffer` and `ReadaheadRandomAccessFile`, will follow in a separate PR, as it is not the root cause of the crash reported in #4051 . (`FilePrefetchBuffer` itself has been this way from its inception, and `ReadaheadRandomAccessFile` was updated to add the buffer length at some point).
Comprehensive tests for `FilePrefetchBuffer` also to follow in a separate PR.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4100
Differential Revision: D8792590
Pulled By: sagar0
fbshipit-source-id: 3578f45761cf6884243e767f749db4016ccc93e1
2018-07-11 12:28:13 -07:00
..
2018-07-11 12:28:13 -07:00
2017-07-15 16:11:23 -07:00
2017-10-17 11:13:19 -07:00
2018-04-12 17:59:16 -07:00
2017-10-17 11:13:19 -07:00
2018-04-15 17:26:26 -07:00
2017-07-15 16:11:23 -07:00
2018-02-23 13:57:26 -08:00
2018-04-15 17:26:26 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2018-06-28 13:20:29 -07:00
2016-10-25 11:31:39 -07:00
2017-07-15 16:11:23 -07:00
2017-07-31 12:12:03 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-10-19 10:57:12 -07:00
2017-07-15 16:11:23 -07:00
2018-04-12 17:59:16 -07:00
2018-06-26 15:57:26 -07:00
2018-06-05 12:58:02 -07:00
2018-06-05 12:58:02 -07:00
2018-06-06 23:42:29 -07:00
2017-07-15 16:11:23 -07:00
2017-11-03 14:42:08 -07:00
2017-07-15 16:11:23 -07:00
2017-08-31 14:16:30 -07:00
2017-09-08 11:11:04 -07:00
2017-08-31 14:16:30 -07:00
2017-08-31 14:16:30 -07:00
2018-06-15 12:42:53 -07:00
2018-02-13 12:18:07 -08:00
2017-08-31 14:16:30 -07:00
2018-07-09 15:28:12 -07:00
2018-07-09 15:28:12 -07:00
2018-07-09 15:28:12 -07:00
2018-04-18 16:32:35 -07:00
2017-12-01 10:42:05 -08:00
2018-03-07 12:42:12 -08:00
2017-10-19 10:57:12 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-06-28 12:34:40 -07:00
2018-06-28 12:34:40 -07:00
2018-03-05 13:13:41 -08:00
2018-07-11 12:28:13 -07:00
2018-06-21 11:13:08 -07:00
2018-06-21 08:42:24 -07:00
2018-04-26 13:58:20 -07:00
2018-06-13 17:32:04 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-02-13 12:18:07 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-08-31 14:16:30 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-04-12 17:59:16 -07:00
2017-10-04 19:15:01 -07:00
2017-10-04 19:15:01 -07:00
2018-03-05 23:57:12 -08:00
2017-07-15 16:11:23 -07:00
2018-06-26 15:57:26 -07:00
2018-04-26 13:58:20 -07:00
2018-04-26 13:58:20 -07:00
2018-06-28 12:34:40 -07:00
2018-06-28 12:34:40 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-02-15 16:57:37 -08:00
2017-07-15 16:11:23 -07:00
2018-06-13 13:13:18 -07:00
2018-06-13 13:13:18 -07:00
2018-03-23 12:56:52 -07:00
2018-06-04 15:58:46 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-06-22 15:27:46 -07:00
2018-06-21 08:42:24 -07:00
2018-03-07 12:42:12 -08:00
2018-03-05 13:13:41 -08:00
2017-11-03 14:42:08 -07:00
2018-06-04 12:12:48 -07:00
2017-07-15 16:11:23 -07:00
2018-04-24 08:41:51 -07:00
2018-04-24 08:41:51 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-05-02 18:13:05 -07:00
2017-12-06 09:42:28 -08:00
2017-06-05 11:27:34 -07:00
2015-03-12 12:07:10 -07:00