Peter Dillinger
9aad24da55
Real fix for race in backup custom checksum checking ( #7309 )
...
Summary:
This is a "real" fix for the issue worked around in https://github.com/facebook/rocksdb/issues/7294 .
To get DB checksum info for live files, we now read the manifest file
that will become part of the checkpoint/backup. This requires a little
extra handling in taking a custom checkpoint, including only reading the
manifest file up to the size prescribed by the checkpoint.
This moves GetFileChecksumsFromManifest from backup code to
file_checksum_helper.{h,cc} and removes apparently unnecessary checking
related to column families.
Updated HISTORY.md and warned potential future users of
DB::GetLiveFilesChecksumInfo()
Pull Request resolved: https://github.com/facebook/rocksdb/pull/7309
Test Plan: updated unit test, before and after
Reviewed By: ajkr
Differential Revision: D23311994
Pulled By: pdillinger
fbshipit-source-id: 741e30a2dc1830e8208f7648fcc8c5f000d4e2d5
2020-08-26 10:39:20 -07:00
..
2020-08-17 18:42:25 -07:00
2020-08-25 10:46:11 -07:00
2020-08-24 16:43:31 -07:00
2020-08-03 15:23:04 -07:00
2020-08-03 15:23:04 -07:00
2020-08-25 10:46:11 -07:00
2020-06-17 10:57:40 -07:00
2020-08-20 16:36:19 -07:00
2020-08-20 16:36:19 -07:00
2020-07-20 14:19:48 -07:00
2020-08-24 22:06:45 -07:00
2020-07-22 18:32:52 -07:00
2020-07-02 19:25:41 -07:00
2020-08-14 20:12:44 -07:00
2020-02-20 12:09:57 -08:00
2020-07-09 14:35:17 -07:00
2020-05-12 18:23:33 -07:00
2020-08-12 19:30:00 -07:00
2020-07-02 19:25:41 -07:00
2020-08-25 15:42:11 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-24 22:06:45 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-06-24 19:07:08 -07:00
2020-08-17 18:42:25 -07:00
2020-08-24 16:43:31 -07:00
2020-06-15 10:47:02 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-06-24 16:22:49 -07:00
2020-02-20 12:09:57 -08:00
2020-08-24 16:43:31 -07:00
2020-08-04 18:52:08 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-03-20 15:26:10 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-25 19:01:05 -07:00
2020-08-24 16:43:31 -07:00
2020-08-25 19:01:05 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-02-20 12:09:57 -08:00
2020-08-17 16:26:06 -07:00
2020-07-07 17:26:16 -07:00
2020-08-17 18:42:25 -07:00
2020-08-17 18:42:25 -07:00
2020-07-15 11:03:58 -07:00
2020-08-20 19:18:35 -07:00
2020-08-25 10:46:11 -07:00
2020-08-25 10:46:11 -07:00
2020-02-20 12:09:57 -08:00
2020-08-17 18:42:25 -07:00
2020-08-18 16:20:54 -07:00
2020-08-18 16:20:54 -07:00
2020-08-24 11:26:09 -07:00
2020-07-09 14:35:17 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-08-06 17:19:41 -07:00
2020-08-17 15:19:05 -07:00
2020-08-11 12:41:30 -07:00
2020-06-17 10:57:40 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-06-09 16:51:23 -07:00
2020-04-15 17:40:44 -07:00
2020-08-18 16:20:54 -07:00
2020-08-18 16:20:54 -07:00
2020-08-17 18:42:25 -07:00
2020-06-24 19:07:08 -07:00
2020-02-20 12:09:57 -08:00
2020-05-04 15:08:13 -07:00
2020-08-25 10:46:11 -07:00
2020-02-20 12:09:57 -08:00
2020-08-26 10:39:20 -07:00
2020-08-26 10:39:20 -07:00
2020-06-03 15:55:03 -07:00
2020-06-18 10:09:12 -07:00
2020-03-27 16:04:43 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-03-04 20:15:25 -08:00
2020-08-12 17:31:23 -07:00
2020-08-21 13:29:05 -07:00
2020-08-21 13:29:05 -07:00
2020-08-05 10:44:57 -07:00
2020-03-02 16:01:00 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-08-17 18:42:25 -07:00
2020-02-20 12:09:57 -08:00
2020-04-20 13:24:25 -07:00
2020-02-20 12:09:57 -08:00
2020-07-09 14:35:17 -07:00
2020-02-20 12:09:57 -08:00
2020-08-10 10:48:05 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-08-14 19:20:58 -07:00
2020-08-17 18:42:25 -07:00
2020-08-12 17:31:23 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-06-29 14:53:17 -07:00
2020-08-03 15:23:04 -07:00
2020-06-03 15:55:03 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-08-18 16:20:54 -07:00
2020-08-12 17:31:23 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-06-30 15:31:21 -07:00
2020-08-11 09:23:17 -07:00
2020-06-09 16:51:23 -07:00
2020-06-18 10:09:12 -07:00
2020-06-18 10:09:12 -07:00
2020-08-05 16:34:38 -07:00
2020-08-17 15:19:05 -07:00
2020-08-12 13:31:09 -07:00
2020-08-12 17:31:23 -07:00
2020-08-24 16:43:31 -07:00
2020-08-12 17:31:23 -07:00
2020-08-20 15:12:00 -07:00
2020-08-20 15:12:00 -07:00
2020-08-05 16:34:38 -07:00
2020-08-12 17:31:23 -07:00
2020-08-18 16:20:54 -07:00
2020-08-12 17:31:23 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-08-24 16:43:31 -07:00
2020-06-30 12:31:30 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2020-02-28 14:14:03 -08:00
2020-08-20 19:18:35 -07:00