Peter Dillinger
8121c7e254
Expose kLatestSupportedFormatVersion in BlockBasedTableOptions ( #15397 )
...
Summary:
Before this change, the highest supported block-based table format_version was only available as the internal constant kLatestBbtFormatVersion in table/format.h. Applications that accept a format_version setting from users or configuration (especially for SetOptions()) had no public way to validate it against the linked RocksDB build before applying it.
This adds the public constant
BlockBasedTableOptions::kLatestSupportedFormatVersion (currently 8) and removes kLatestBbtFormatVersion, redirecting all internal and test uses to the new constant. Supported-version checks and option validation are unchanged: format_version above the constant is still rejected as InvalidArgument, and draft format_versions remain usable only under the TEST-only TEST_AllowUnsupportedFormatVersion() hook.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/15397
Test Plan: Same value and same checks, so no new tests. Existing format_version validation coverage (e.g. TableTest.UnsupportedFormatVersionConfigTest) and the FormatLatest test instantiations now go through the public constant.
Reviewed By: rban1
Differential Revision: D125117976
Pulled By: pdillinger
fbshipit-source-id: 67e0c5b7eade4bf649957435aa0b28b187793f7c
2026-10-19 06:32:23 -07:00
..
2026-10-12 16:00:09 -07:00
2026-10-14 15:59:16 -07:00
2026-10-16 12:15:57 -07:00
2026-10-12 16:00:09 -07:00
2026-06-10 17:02:47 -07:00
2026-10-12 16:00:09 -07:00
2024-04-16 08:45:38 -07:00
2026-10-12 16:00:09 -07:00
2026-10-06 11:59:54 -07:00
2026-04-16 16:45:13 -07:00
2026-10-06 16:26:51 -07:00
2026-10-12 16:00:09 -07:00
2026-04-08 18:58:40 -07:00
2026-10-12 16:00:09 -07:00
2026-10-19 06:32:23 -07:00
2026-10-11 10:39:30 -07:00
2026-10-12 16:00:09 -07:00
2026-02-17 23:33:39 -08:00
2026-10-19 06:32:23 -07:00
2026-02-17 13:05:44 -08:00
2026-02-17 13:05:44 -08:00
2026-09-10 14:56:12 -07:00
2026-10-13 14:06:55 -07:00
2026-02-17 23:33:39 -08:00
2026-10-13 14:06:55 -07:00
2026-10-13 14:06:55 -07:00
2026-10-19 06:32:23 -07:00
2026-10-13 14:06:55 -07:00
2026-08-04 13:36:03 -07:00
2026-10-13 14:06:55 -07:00
2026-10-14 15:59:16 -07:00
2024-12-19 10:58:40 -08:00
2025-07-09 10:40:28 -07:00
2026-10-13 14:06:55 -07:00
2026-10-13 14:06:55 -07:00
2026-10-12 12:01:42 -07:00
2026-10-13 14:06:55 -07:00
2026-10-09 14:39:14 -07:00
2026-10-13 14:06:55 -07:00
2026-10-09 14:39:14 -07:00
2025-05-05 17:42:57 -07:00
2026-06-01 15:36:38 -07:00
2026-10-13 14:06:55 -07:00
2026-10-12 16:00:09 -07:00
2026-10-13 14:06:55 -07:00
2025-04-11 10:08:29 -07:00
2026-08-05 13:21:37 -07:00
2026-02-17 23:33:39 -08:00
2026-10-06 16:26:51 -07:00
2026-10-13 14:06:55 -07:00
2026-02-17 23:33:39 -08:00
2026-06-05 10:18:47 -07:00
2026-08-11 17:38:34 -07:00
2026-10-13 14:06:55 -07:00
2026-10-13 14:06:55 -07:00
2025-10-09 14:31:47 -07:00
2026-02-17 23:33:39 -08:00
2026-10-13 14:06:55 -07:00
2026-10-06 11:59:54 -07:00
2026-02-17 23:33:39 -08:00
2026-10-13 14:06:55 -07:00
2026-10-13 14:06:55 -07:00
2026-10-19 06:32:23 -07:00
2026-10-13 14:06:55 -07:00
2026-10-13 14:06:55 -07:00
2026-10-13 14:06:55 -07:00
2026-10-16 12:15:57 -07:00
2026-10-13 14:06:55 -07:00
2026-01-20 14:10:41 -08:00
2026-10-13 14:06:55 -07:00
2026-10-06 16:26:51 -07:00
2026-10-13 14:06:55 -07:00
2024-11-22 17:53:35 -08:00
2026-10-13 14:06:55 -07:00
2026-10-13 14:06:55 -07:00
2026-10-09 14:39:14 -07:00
2026-10-02 14:43:36 -07:00
2026-10-02 12:21:46 -07:00
2026-10-06 11:59:54 -07:00
2026-09-17 12:46:43 -07:00
2026-10-13 14:06:55 -07:00
2026-10-05 09:53:52 -07:00
2026-10-13 14:06:55 -07:00
2026-10-12 16:00:09 -07:00
2026-10-13 14:06:55 -07:00
2026-10-13 14:06:55 -07:00
2022-11-02 14:34:24 -07:00
2023-07-03 09:41:48 -07:00
2022-11-02 14:34:24 -07:00
2022-11-02 14:34:24 -07:00
2026-10-12 16:00:09 -07:00
2026-10-13 14:06:55 -07:00
2026-08-05 13:21:37 -07:00
2026-02-17 23:33:39 -08:00
2026-10-13 14:06:55 -07:00
2026-10-09 14:39:14 -07:00
2023-02-22 12:28:18 -08:00
2026-10-13 14:06:55 -07:00
2023-06-15 12:25:04 -07:00
2026-10-13 14:06:55 -07:00
2026-10-13 14:06:55 -07:00
2026-10-12 16:00:09 -07:00
2026-10-12 16:00:09 -07:00
2023-04-25 12:08:23 -07:00
2026-10-09 14:39:14 -07:00
2024-12-26 13:20:35 -08:00
2026-04-27 12:17:09 -07:00
2026-10-12 16:00:09 -07:00
2026-09-24 11:46:13 -07:00
2026-09-24 11:46:13 -07:00
2026-10-12 16:00:09 -07:00
2022-11-02 14:34:24 -07:00
2026-10-13 14:06:55 -07:00
2024-02-07 10:44:11 -08:00
2024-12-19 10:58:40 -08:00
2024-12-06 13:29:52 -08:00
2024-12-06 13:29:52 -08:00
2026-02-17 23:33:39 -08:00
2026-10-13 14:06:55 -07:00
2026-10-08 17:19:47 -07:00
2026-10-12 16:00:09 -07:00
2026-10-12 16:00:09 -07:00
2026-10-12 16:00:09 -07:00
2025-02-10 17:15:47 -08:00
2026-04-10 17:04:47 -07:00
2026-07-20 16:32:42 -07:00
2026-07-20 16:32:42 -07:00
2025-09-08 13:11:28 -07:00
2026-04-10 17:04:47 -07:00
2026-10-12 16:00:09 -07:00
2026-04-08 18:58:40 -07:00
2026-07-08 13:58:00 -07:00
2026-08-05 13:21:37 -07:00
2026-07-29 12:44:27 -07:00
2026-10-14 15:59:16 -07:00
2026-10-14 15:59:16 -07:00
2026-09-04 11:19:16 -07:00
2026-08-26 20:14:26 -07:00
2026-08-26 20:14:26 -07:00
2026-03-27 14:43:52 -07:00
2026-02-28 13:43:55 -08:00
2026-10-12 16:00:09 -07:00
2024-02-07 10:44:11 -08:00
2026-02-17 23:33:39 -08:00
2026-10-12 16:00:09 -07:00
2026-10-12 16:00:09 -07:00
2026-10-13 14:06:55 -07:00
2022-10-25 11:33:04 -07:00
2026-10-13 14:06:55 -07:00
2026-08-26 21:52:40 -07:00
2026-10-12 16:00:09 -07:00
2026-10-13 14:06:55 -07:00
2026-10-13 14:06:55 -07:00
2026-09-11 04:44:59 -07:00
2026-10-12 16:00:09 -07:00
2026-10-13 14:06:55 -07:00
2026-10-12 16:00:09 -07:00
2026-10-13 14:06:55 -07:00
2025-03-04 17:44:01 -08:00
2025-03-04 17:44:01 -08:00
2026-10-12 16:00:09 -07:00
2022-11-02 14:34:24 -07:00
2026-10-12 16:00:09 -07:00
2026-09-11 04:44:59 -07:00
2026-10-08 17:19:47 -07:00
2026-09-28 12:04:07 -07:00
2024-11-01 10:08:35 -07:00
2022-11-02 14:34:24 -07:00
2026-10-12 16:00:09 -07:00
2022-11-02 14:34:24 -07:00
2026-10-06 11:59:54 -07:00
2026-10-12 16:00:09 -07:00
2026-10-02 12:21:46 -07:00
2026-10-11 10:39:30 -07:00
2026-10-02 12:21:46 -07:00
2026-10-13 14:06:55 -07:00
2026-10-11 10:39:30 -07:00
2026-10-12 16:00:09 -07:00
2026-10-12 19:22:21 -07:00
2026-10-06 11:59:54 -07:00
2026-10-13 14:06:55 -07:00
2026-10-12 19:22:21 -07:00
2026-06-16 11:20:07 -07:00
2026-03-02 16:18:14 -08:00
2022-07-21 13:35:36 -07:00
2022-07-21 13:35:36 -07:00
2022-07-21 13:35:36 -07:00
2026-09-30 04:40:00 -07:00
2026-09-30 04:40:00 -07:00
2026-08-05 13:21:37 -07:00
2026-09-30 04:40:00 -07:00
2026-09-30 04:40:00 -07:00
2026-10-13 14:06:55 -07:00
2026-10-12 16:00:09 -07:00
2026-10-13 14:06:55 -07:00
2026-10-13 14:06:55 -07:00
2026-02-17 23:33:39 -08:00
2026-10-12 16:00:09 -07:00
2022-11-02 14:34:24 -07:00
2026-10-12 16:00:09 -07:00
2023-04-05 14:42:31 -07:00
2024-01-29 10:38:08 -08:00
2026-10-06 16:26:51 -07:00
2026-10-12 16:00:09 -07:00