Nadav Har'El
0a990d2a48
config: split tri_mode_restriction to a separate header
...
Today, any source file or header file that wants to use the
tri_mode_restriction type needs to include db/config.hh, which is a
large and frequently-changing header file. In this patch we split this
type into a separate header file, db/tri_mode_restriction.hh, and avoid
a few unnecessary inclusions of db/config.hh. However, a few source
files now need to explicitly include db/config.hh, after its
transitive inclusion is gone.
Note that the overwhelmingly common inclusion of db/config.hh continues
to be a problem after this patch - 128 source files include it directly.
So this patch is just the first step in long journey.
Signed-off-by: Nadav Har'El <nyh@scylladb.com >
Closes scylladb/scylladb#25692
2025-08-27 13:47:04 +03:00
..
2025-08-27 13:47:04 +03:00
2025-08-21 19:29:36 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-08-20 17:20:20 +02:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2024-12-18 17:45:13 +02:00
2025-07-13 19:13:11 +03:00
2024-12-18 17:45:13 +02:00
2025-06-09 13:30:40 +03:00
2025-02-06 08:55:51 +02:00
2024-12-18 17:45:13 +02:00
2025-03-31 09:43:22 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-08-21 19:29:36 +02:00
2025-07-13 19:13:11 +03:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-08-27 13:47:04 +03:00
2025-07-13 19:13:11 +03:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-08-20 12:38:52 +02:00
2025-06-30 19:12:14 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-05-27 21:04:50 +02:00
2024-12-18 17:45:13 +02:00
2025-07-07 13:47:06 +02:00
2025-07-07 13:47:06 +02:00
2025-08-13 01:51:53 +02:00
2025-08-13 01:51:53 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 15:01:05 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-07-24 19:48:08 +02:00
2025-07-13 19:13:11 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-05-14 09:59:16 +02:00
2025-08-13 01:51:53 +02:00
2025-08-13 01:51:53 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-08-27 13:47:04 +03:00
2025-08-01 12:08:50 +02:00
2025-01-15 15:01:05 +01:00
2025-01-15 15:01:05 +01:00
2025-01-02 07:13:34 +01:00
2025-01-02 07:13:34 +01:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00