Yu Zhang
6c564e2e17
Add some convenience util APIs to facilitate using U64Ts ( #11888 )
...
Summary:
Added some util function APIs to facilitate using the U64Ts.
The U64Ts format for encoding a timestamp is not entirely RocksDB internal. When users are using the user-defined timestamp feature from the transaction layer, its public APIs including `SetCommitTimestamp`, `GetCommitTimestamp`, `SetReadTimestampForValidation` are taking and returning timestamps as uint64_t. But if users want to use the APIs from the DB layer, including populating `ReadOptions.timestamp`, interpreting `Iterator::timestamp()`, these APIs are using and returning U64Ts timestamps as an encoded Slice. So these util functions are added to facilitate the usage.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/11888
Reviewed By: ltamasi
Differential Revision: D49620709
Pulled By: jowlyzhang
fbshipit-source-id: ace8d782ee7c3372cf410abf761320d373e495e1
2023-09-25 19:00:39 -07:00
..
2023-02-13 02:21:38 -08:00
2023-07-27 12:02:03 -07:00
2022-08-11 12:45:50 -07:00
2023-01-27 13:14:19 -08:00
2023-01-27 13:14:19 -08:00
2023-08-17 11:52:38 -07:00
2023-09-15 15:46:10 -07:00
2023-01-27 13:14:19 -08:00
2023-05-24 11:57:15 -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
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-07-28 09:47:31 -07:00
2023-09-25 19:00:39 -07:00
2022-10-26 12:08:20 -07:00
2020-02-20 12:09:57 -08:00
2023-08-18 15:01:59 -07:00
2023-09-18 09:26:29 -07:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2023-08-02 11:30:10 -07:00
2022-08-11 12:45:50 -07:00
2023-05-17 19:44:24 -07:00
2022-10-26 12:08:20 -07:00
2020-12-01 11:21:44 -08:00
2019-05-21 16:22:35 -07:00
2020-12-01 11:21:44 -08:00
2021-09-10 10:00:26 -07:00
2022-10-26 12:08:20 -07:00
2023-05-09 22:25:45 -07:00
2022-10-26 12:08:20 -07:00
2023-02-08 20:14:57 -08:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2023-02-13 02:21:38 -08:00
2023-01-27 13:14:19 -08:00
2022-10-26 12:08:20 -07: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
2023-04-21 09:07:18 -07:00
2023-02-13 02:21:38 -08:00
2023-01-27 13:14:19 -08:00
2023-06-27 11:58:29 -07:00
2023-04-04 16:53:14 -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
2023-05-24 11:57:15 -07: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
2021-01-25 22:09:11 -08:00
2023-08-02 11:30:10 -07:00
2023-08-02 11:30:10 -07:00
2022-10-26 12:08:20 -07: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
2019-05-21 16:22:35 -07:00
2022-10-26 12:08:20 -07:00
2023-02-13 02:21:38 -08:00
2022-10-26 12:08:20 -07:00
2023-05-17 11:27:09 -07:00
2023-09-11 12:54:50 -07:00
2023-08-29 18:39:10 -07:00
2022-10-18 00:35:35 -07:00
2021-03-15 04:34:11 -07:00
2022-06-15 14:44:43 -07:00
2021-02-26 08:50:42 -08:00
2021-02-26 08:50:42 -08:00
2021-11-18 09:42:20 -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
2023-02-08 20:14:57 -08:00
2023-05-19 15:25:49 -07:00
2023-01-27 13:14:19 -08:00
2023-09-22 13:49:19 -07:00
2022-08-29 21:09:36 -07:00
2022-08-29 21:09:36 -07:00
2023-05-25 10:16:58 -07:00
2023-01-27 13:14:19 -08:00
2023-01-27 13:14:19 -08:00
2021-03-25 22:08:58 -07:00
2023-04-21 09:07:18 -07:00
2023-01-27 13:14:19 -08:00
2022-10-26 12:08:20 -07:00
2022-10-26 12:08:20 -07:00
2023-09-15 08:30:44 -07: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
2022-10-26 12:08:20 -07:00
2022-10-18 00:35:35 -07:00
2022-10-26 12:08:20 -07:00
2023-08-30 09:34:31 -07:00
2023-08-30 13:42:04 -07:00
2023-08-30 13:42:04 -07:00
2022-10-21 12:27:50 -07:00
2022-07-14 10:09:31 -07: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
2023-05-22 14:28:58 -07:00
2022-10-26 12:08:20 -07:00
2023-09-05 14:44:17 -07:00
2023-09-05 14:44:17 -07:00