Peter Dillinger
2b60621f16
Don't call OnTableFileCreated with OK for empty+deleted file ( #9118 )
...
Summary:
EventListener::OnTableFileCreated was previously called with OK
status and file_size==0 in cases of no SST file contents written
(because there was no content to add) and the empty file deleted before
calling the listener. This could lead to a stress test assertion failure
added in https://github.com/facebook/rocksdb/issues/9054 .
This changes the status to Aborted, to align with the API doc:
"... if the file is successfully created. Now it will also be called on
failure case. User can check info.status to see if it succeeded or not."
For internal purposes, this case is considered "success" but for
listener purposes, no SST file is (successfully) created.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/9118
Test Plan: test case added + existing db_stress
Reviewed By: ajkr, riversand963
Differential Revision: D32120232
Pulled By: pdillinger
fbshipit-source-id: a804e2e0a52598018d3b182da97804d402ffcdfa
2021-11-03 08:43:27 -07:00
..
2021-10-06 07:48:31 -07:00
2021-11-01 14:36:31 -07:00
2021-11-01 12:57:27 -07:00
2021-06-16 16:51:38 -07:00
2021-09-29 04:04:40 -07:00
2021-11-03 08:43:27 -07:00
2021-09-16 17:23:36 -07:00
2021-10-11 18:03:01 -07:00
2021-10-11 18:03:01 -07:00
2021-10-11 18:03:01 -07:00
2021-10-11 18:03:01 -07:00
2021-09-08 12:22:04 -07:00
2021-03-29 17:10:42 -07:00
2020-10-28 23:22:27 -07:00
2021-05-05 14:00:17 -07:00
2021-06-15 03:43:48 -07:00
2021-10-18 23:32:01 -07:00
2021-11-02 09:07:11 -07:00
2021-09-15 15:33:20 -07:00
2021-09-27 07:43:47 -07:00
2021-07-23 08:38:45 -07:00
2021-11-01 14:36:31 -07:00
2021-09-21 09:23:48 -07:00
2021-07-23 08:38:45 -07:00
2021-10-16 10:04:32 -07:00
2021-11-02 21:54:29 -07:00
2021-07-30 12:16:44 -07:00
2020-06-15 10:47:02 -07:00
2021-07-23 08:38:45 -07:00
2021-09-08 07:46:44 -07:00
2021-05-05 14:00:17 -07:00
2021-09-01 14:28:58 -07:00
2021-06-16 16:51:38 -07:00
2021-09-29 04:04:40 -07:00
2021-07-23 08:38:45 -07:00
2021-09-12 15:34:26 -07:00
2021-08-10 11:10:07 -07:00
2020-12-09 21:21:16 -08:00
2021-07-23 08:38:45 -07:00
2021-07-23 08:38:45 -07:00
2021-07-23 08:38:45 -07:00
2021-07-23 08:38:45 -07:00
2021-10-22 10:13:15 -07:00
2021-10-20 10:04:13 -07:00
2021-09-08 07:46:44 -07:00
2021-09-30 13:26:31 -07:00
2021-09-07 13:28:29 -07:00
2021-10-18 23:32:01 -07:00
2021-07-23 08:38:45 -07:00
2021-10-18 21:25:45 -07:00
2021-10-28 22:15:17 -07:00
2021-10-28 22:15:17 -07:00
2021-10-18 23:32:01 -07:00
2021-09-21 09:23:48 -07:00
2021-07-23 08:38:45 -07:00
2021-09-27 11:51:07 -07:00
2021-09-08 07:46:44 -07:00
2021-07-23 08:38:45 -07:00
2021-07-23 08:38:45 -07:00
2020-10-28 23:22:27 -07:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-07-23 08:38:45 -07:00
2021-09-01 14:28:58 -07:00
2021-07-29 11:51:08 -07:00
2021-03-25 21:18:08 -07:00
2021-09-16 17:23:36 -07:00
2021-09-16 17:23:36 -07:00
2020-02-20 12:09:57 -08:00
2021-10-11 16:23:18 -07:00
2021-10-08 10:32:24 -07:00
2021-10-12 20:39:52 -07:00
2021-10-28 22:15:17 -07:00
2021-09-21 09:23:48 -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-10-28 23:22:27 -07:00
2021-08-03 13:31:10 -07:00
2021-09-16 17:23:36 -07:00
2021-09-29 04:04:40 -07:00
2020-02-20 12:09:57 -08:00
2021-03-19 12:09:47 -07:00
2020-02-20 12:09:57 -08:00
2021-03-25 21:18:08 -07:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-07-23 08:38:45 -07:00
2021-10-31 23:11:43 -07:00
2021-10-20 13:17:00 -07:00
2021-09-10 10:00:26 -07:00
2021-09-27 11:43:20 -07:00
2021-11-03 08:43:27 -07:00
2020-02-20 12:09:57 -08:00
2020-11-30 18:11:38 -08:00
2020-08-26 10:39:20 -07:00
2021-01-04 16:01:01 -08:00
2021-06-25 00:47:17 -07:00
2021-03-19 12:09:47 -07:00
2020-02-20 12:09:57 -08:00
2021-03-19 12:09:47 -07:00
2021-09-29 04:04:40 -07:00
2021-09-07 11:31:59 -07:00
2020-02-20 12:09:57 -08:00
2020-12-22 23:45:58 -08:00
2021-08-03 13:31:10 -07:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-09-14 13:14:39 -07:00
2021-05-10 12:50:25 -07:00
2021-10-06 07:48:31 -07:00
2021-06-24 18:11:30 -07:00
2021-09-29 04:04:40 -07:00
2020-02-20 12:09:57 -08:00
2021-08-30 15:20:41 -07:00
2021-10-18 15:15:23 -07:00
2020-12-23 16:55:53 -08:00
2021-09-29 04:04:40 -07:00
2021-09-29 04:04:40 -07:00
2021-03-15 04:34:11 -07:00
2021-07-23 08:38:45 -07:00
2021-03-15 04:34:11 -07:00
2021-01-25 22:09:11 -08:00
2021-09-07 11:31:59 -07:00
2021-09-01 14:28:58 -07:00
2021-09-10 10:00:26 -07:00
2021-03-15 04:34:11 -07:00
2021-10-06 07:48:31 -07:00
2021-10-06 07:48:31 -07:00
2020-10-28 10:12:58 -07:00
2021-03-25 21:18:08 -07:00
2021-10-06 07:48:31 -07:00
2021-06-18 04:57:27 -07:00
2021-06-18 04:57:27 -07:00
2021-09-10 10:00:26 -07:00
2021-07-28 16:44:14 -07:00
2021-09-29 04:04:40 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2021-09-10 10:00:26 -07:00
2021-10-07 14:58:41 -07:00
2021-10-07 14:58:41 -07:00
2021-09-28 12:35:24 -07:00
2021-03-25 15:00:45 -07:00
2021-09-28 12:35:24 -07:00
2021-10-05 10:51:59 -07:00
2021-09-29 04:04:40 -07:00
2020-02-20 12:09:57 -08:00
2020-02-20 12:09:57 -08:00
2021-11-01 14:36:31 -07:00
2021-11-01 12:32:14 -07:00
2021-04-19 11:56:14 -07:00
2021-09-29 04:04:40 -07:00
2021-06-10 12:55:20 -07:00
2021-01-19 19:27:53 -08:00
2021-05-17 15:15:23 -07:00
2021-05-17 15:15:23 -07:00
2021-11-01 14:36:31 -07:00
2021-11-01 14:36:31 -07:00
2021-11-01 14:36:31 -07:00
2020-12-09 16:02:12 -08:00
2020-12-09 16:02:12 -08:00
2020-12-09 16:02:12 -08:00
2021-09-21 09:23:48 -07:00
2021-07-30 12:16:44 -07:00
2021-07-30 12:16:44 -07:00
2020-02-20 12:09:57 -08:00
2021-09-14 13:14:39 -07:00
2021-09-01 14:28:58 -07:00
2021-09-14 13:14:39 -07:00
2021-07-07 11:14:05 -07:00
2020-02-20 12:09:57 -08:00
2021-03-18 09:47:31 -07:00
2021-03-18 09:47:31 -07:00
2021-03-18 09:47:31 -07:00
2021-04-21 13:54:02 -07:00
2021-06-18 17:14:51 -07:00