Yu Zhang
476a98ca30
Add a new GetNewestUserDefinedTimestamp API ( #13547 )
...
Summary:
This PR adds a DB::GetNewestUserDefinedTimestamp API to get the newest timestamp of the column family. This is only for when the column family enables user defined timestamp.
It checks the mutable memtable, the immutable memtable and the SST files, and returns the first newest user defined timestamp found. When user defined timestamp is not persisted in SST files, there is metadata in MANIFEST tracking upperbound of flushed timestamps, so the newest timestamp in SST files can be found. If user defined timestamps are
persisted in SST files, currently no timestamp metadata info is persisted. A NotSupported status will be returned if SST files need to be checked in that case.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/13547
Test Plan: Added tests
Reviewed By: cbi42
Differential Revision: D73123575
Pulled By: jowlyzhang
fbshipit-source-id: 460ac4f9c96926d3c8fcf7944edab8dc0feae1dd
2025-04-17 13:19:52 -07:00
..
2024-12-06 10:15:18 -08:00
2024-05-28 15:33:57 -07:00
2024-02-16 09:14:55 -08:00
2024-09-14 09:48:21 -07:00
2023-11-08 13:28:43 -08:00
2024-12-19 10:58:40 -08:00
2024-12-19 10:58:40 -08:00
2023-08-17 11:52:38 -07:00
2024-04-30 08:33:31 -07:00
2023-01-27 13:14:19 -08:00
2024-03-15 11:43:28 -07:00
2021-09-10 10:00:26 -07:00
2022-05-28 00:15:28 -07:00
2021-12-16 17:15:13 -08:00
2024-03-30 07:17:52 -07:00
2022-10-26 12:08:20 -07:00
2024-01-29 10:38:08 -08:00
2024-12-19 10:58:40 -08:00
2024-05-13 15:43:12 -07:00
2023-12-01 11:15:17 -08:00
2020-02-20 12:09:57 -08:00
2025-02-04 12:03:32 -08:00
2025-02-04 12:03:32 -08:00
2022-10-26 12:08:20 -07:00
2024-01-31 13:14:42 -08:00
2023-08-02 11:30:10 -07:00
2024-09-14 09:48:21 -07:00
2025-03-04 16:51:19 -08:00
2024-01-29 10:38:08 -08:00
2020-12-01 11:21:44 -08:00
2019-05-21 16:22:35 -07:00
2024-12-19 10:58:40 -08:00
2024-01-29 10:38:08 -08:00
2024-03-04 10:08:32 -08:00
2024-03-04 10:08:32 -08:00
2024-01-29 10:38:08 -08:00
2024-03-04 10:08:32 -08:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2023-10-12 10:05:23 -07:00
2023-01-27 13:14:19 -08:00
2023-12-01 11:15:17 -08:00
2022-10-26 12:08:20 -07:00
2023-08-17 11:52:38 -07:00
2021-09-10 10:00:26 -07:00
2024-12-06 13:29:52 -08:00
2024-12-06 13:29:52 -08:00
2024-12-19 10:58:40 -08:00
2024-03-19 16:17:57 -07:00
2024-06-12 18:47:11 -07:00
2023-04-03 10:41:00 -07:00
2021-08-20 18:41:51 -07:00
2022-04-13 07:34:01 -07:00
2020-03-20 14:59:54 -07:00
2023-08-02 11:30:10 -07:00
2021-10-18 23:32:01 -07:00
2024-01-29 10:38:08 -08:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2023-12-29 15:29:23 -08:00
2023-08-02 11:30:10 -07:00
2023-08-02 11:30:10 -07:00
2024-01-24 07:39:59 -08:00
2022-10-26 12:08:20 -07:00
2023-05-24 11:57:15 -07:00
2023-09-13 09:50:44 -07:00
2024-12-19 10:58:40 -08:00
2022-10-26 12:08:20 -07:00
2024-05-28 15:33:57 -07:00
2022-10-26 12:08:20 -07:00
2024-02-26 16:55:13 -08:00
2024-02-26 16:55:13 -08:00
2024-02-26 16:55:13 -08:00
2024-02-07 10:44:11 -08:00
2021-03-15 04:34:11 -07:00
2022-06-15 14:44:43 -07:00
2024-03-04 10:08:32 -08:00
2021-02-26 08:50:42 -08:00
2024-01-24 08:20:50 -08:00
2023-04-12 13:24:34 -07:00
2021-09-10 10:00:26 -07:00
2023-07-18 15:38:52 -07:00
2024-03-15 11:43:28 -07:00
2023-05-19 15:25:49 -07:00
2024-03-04 10:08:32 -08:00
2024-03-04 10:08:32 -08:00
2024-05-06 08:53:06 -07:00
2024-07-08 15:59:02 -07:00
2023-05-25 10:16:58 -07:00
2024-01-10 10:17:31 -08:00
2024-12-19 10:58:40 -08:00
2024-01-29 10:38:08 -08:00
2021-03-25 22:08:58 -07:00
2024-03-04 10:08:32 -08:00
2023-01-27 13:14:19 -08:00
2024-03-04 10:08:32 -08:00
2022-10-26 12:08:20 -07:00
2025-03-19 12:08:06 -07:00
2024-03-04 10:08:32 -08:00
2024-01-31 13:14:42 -08:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2022-10-18 00:35:35 -07:00
2022-10-26 12:08:20 -07:00
2024-11-06 17:32:03 -08:00
2025-04-17 13:19:52 -07:00
2025-04-17 13:19:52 -07:00
2022-10-21 12:27:50 -07:00
2024-01-31 13:14:42 -08:00
2022-10-18 00:35:35 -07:00
2021-09-10 10:00:26 -07:00
2023-05-22 14:28:58 -07:00
2024-05-23 20:26:57 -07:00
2022-10-26 12:08:20 -07:00
2024-06-26 07:26:20 -07:00
2023-09-05 14:44:17 -07:00