Viktor Söderqvist
e9b8970e72
Relaxed RDB version check ( #1604 )
...
New config `rdb-version-check` with values:
* `strict`: Reject future RDB versions.
* `relaxed`: Try parsing future RDB versions and fail only when an
unknown RDB opcode or type is encountered.
This can make it possible for Valkey 8.1 to try read a dump from for
example Valkey 9.0 or later on a best-effort basis. The conditions for
when this is expected to work can be defined when the future Valkey
versions are released. Loading is expected to fail in the following
cases:
* If the data set contains any new key types or other data elements not
supported by the current version.
* If the RDB contains new representations or encodings of existing key
types or other data elements.
This change also prepares for the next RDB version bump. A range of RDB
versions (12-79) is reserved, since it's expected to be used by foreign
software RDB versions, so Valkey will not accept versions in this range
even with the `relaxed` version check. The DUMP/RESTORE format has no
magic string; only the RDB version number.
This change also prepares for the magic string to change from REDIS to
VALKEY next time we bump the RDB version.
Related to #1108 .
---------
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Co-authored-by: Madelyn Olson <madelyneolson@gmail.com>
2025-01-27 18:44:24 +01:00
..
2025-01-24 11:41:40 +08:00
2024-12-05 20:01:38 +01:00
2025-01-27 10:13:46 +01:00
2024-09-25 01:22:54 +02:00
2024-05-22 23:24:12 -07:00
2024-04-10 08:59:45 +02:00
2025-01-23 12:17:20 +01:00
2024-12-17 17:48:53 -08:00
2024-12-17 17:48:53 -08:00
2024-08-14 09:20:36 -07:00
2024-05-22 23:24:12 -07:00
2024-06-16 21:18:20 -07:00
2024-08-14 09:20:36 -07:00
2024-12-03 08:42:29 -08:00
2024-09-27 12:20:47 -07:00
2024-12-17 19:07:55 +02:00
2024-12-17 19:07:55 +02:00
2024-11-21 18:22:16 +02:00
2024-11-21 18:22:16 +02:00
2025-01-23 12:17:20 +01:00
2024-09-25 01:22:54 +02:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-12-10 21:30:56 +01:00
2025-01-24 11:41:40 +08:00
2024-12-17 17:48:53 -08:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-09-25 01:22:54 +02:00
2024-05-22 23:24:12 -07:00
2024-08-14 09:20:36 -07:00
2024-05-22 23:24:12 -07:00
2025-01-23 12:17:20 +01:00
2025-01-11 10:43:18 +08:00
2024-10-23 17:11:42 +08:00
2024-07-29 21:50:46 -07:00
2025-01-27 18:44:24 +01:00
2024-12-02 15:55:24 +08:00
2024-12-17 19:07:55 +02:00
2025-01-24 11:41:40 +08:00
2025-01-24 11:41:40 +08:00
2024-09-25 01:22:54 +02:00
2025-01-24 11:41:40 +08:00
2024-05-22 23:24:12 -07:00
2025-01-27 18:44:24 +01:00
2024-12-02 19:40:38 +01:00
2024-11-29 11:13:34 +01:00
2024-12-18 09:03:30 +02:00
2024-08-14 09:20:36 -07:00
2024-04-09 10:24:03 +02:00
2024-08-14 09:20:36 -07:00
2024-05-02 20:00:04 -07:00
2024-05-02 20:00:04 -07:00
2024-05-08 12:17:32 -07:00
2024-04-30 19:32:01 -07:00
2024-04-30 19:32:01 -07:00
2024-04-30 19:32:01 -07:00
2025-01-23 12:17:20 +01:00
2025-01-23 12:17:20 +01:00
2024-09-25 01:22:54 +02:00
2025-01-13 11:17:16 +01:00
2024-12-03 08:42:29 -08:00
2024-12-03 08:42:29 -08:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2025-01-09 14:35:48 +08:00
2025-01-08 18:34:02 +01:00
2024-12-10 21:30:56 +01:00
2024-08-14 09:20:36 -07:00
2024-08-26 21:10:44 -07:00
2025-01-16 10:08:16 +01:00
2025-01-16 10:08:16 +01:00
2025-01-16 10:08:16 +01:00
2025-01-08 18:34:02 +01:00
2024-12-17 17:45:43 -08:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2025-01-27 15:45:09 +01:00
2025-01-23 12:17:20 +01:00
2024-12-14 19:13:04 +01:00
2024-08-27 20:44:32 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2025-01-02 10:42:39 +01:00
2024-12-18 09:03:30 +02:00
2025-01-23 12:17:20 +01:00
2025-01-23 12:17:20 +01:00
2025-01-24 11:41:40 +08:00
2024-09-25 01:22:54 +02:00
2025-01-13 11:17:16 +01:00
2024-08-14 09:20:36 -07:00
2024-12-17 17:48:53 -08:00
2024-12-17 17:48:53 -08:00
2024-08-14 09:20:36 -07:00
2024-06-30 11:33:10 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2021-11-16 13:12:25 +02:00
2021-11-16 13:12:25 +02:00
2021-11-16 13:12:25 +02:00
2021-11-16 13:12:25 +02:00
2025-01-24 11:41:40 +08:00
2024-12-10 21:30:56 +01:00
2024-08-26 21:10:44 -07:00
2024-09-25 01:22:54 +02:00
2024-04-05 21:15:57 -07:00
2025-01-24 11:41:40 +08:00
2025-01-08 10:28:54 +02:00
2024-05-22 23:24:12 -07:00
2023-05-02 17:31:32 -07:00
2025-01-24 11:41:40 +08:00
2025-01-24 11:41:40 +08:00
2025-01-02 18:35:10 +01:00
2025-01-23 12:17:20 +01:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2025-01-23 12:17:20 +01:00
2024-11-14 10:37:44 +08:00
2024-11-14 10:37:44 +08:00
2024-09-25 01:22:54 +02:00
2024-10-04 12:58:42 -07:00
2024-10-02 19:28:55 +02:00
2024-10-02 19:28:55 +02:00
2024-10-02 19:28:55 +02:00
2025-01-27 18:44:24 +01:00
2025-01-27 18:44:24 +01:00
2024-12-05 18:26:56 +01:00
2024-05-22 23:24:12 -07:00
2024-08-14 09:20:36 -07:00
2025-01-08 10:28:54 +02:00
2024-11-25 10:01:43 +01:00
2024-08-14 09:20:36 -07:00
2024-09-25 01:22:54 +02:00
2024-12-24 08:14:32 +02:00
2024-12-21 23:09:35 +01:00
2024-12-21 23:09:35 +01:00
2025-01-08 10:28:54 +02:00
2024-12-21 23:09:35 +01:00
2025-01-16 10:08:16 +01:00
2025-01-16 10:08:16 +01:00
2025-01-14 10:38:12 +01:00
2025-01-14 10:38:12 +01:00
2024-08-14 09:20:36 -07:00
2024-11-14 09:45:47 +01:00
2025-01-24 11:41:40 +08:00
2025-01-27 18:44:24 +01:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-05-09 19:44:40 -07:00
2024-05-09 19:44:40 -07:00
2021-11-11 13:51:33 +02:00
2024-08-14 09:20:36 -07:00
2025-01-02 10:01:55 +02:00
2024-09-25 01:22:54 +02:00
2025-01-23 12:17:20 +01:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2024-06-07 14:21:33 -07:00
2024-05-06 00:09:01 -07:00
2024-08-14 09:20:36 -07:00
2024-08-14 09:20:36 -07:00
2022-05-22 17:10:31 +03:00
2025-01-23 12:17:20 +01:00
2024-12-10 21:30:56 +01:00
2025-01-23 12:17:20 +01:00
2024-12-17 17:48:53 -08:00
2024-12-10 21:30:56 +01:00
2025-01-23 12:17:20 +01:00
2024-09-25 01:22:54 +02:00
2024-05-28 09:27:51 -07:00
2024-05-22 23:24:12 -07:00
2025-01-08 10:28:54 +02:00
2024-12-18 09:03:30 +02:00
2025-01-08 10:28:54 +02:00
2024-11-29 11:13:34 +01:00
2025-01-16 10:08:16 +01:00
2025-01-16 10:08:16 +01:00
2024-11-25 10:01:43 +01:00
2024-12-19 18:32:31 +02:00
2024-09-25 01:22:54 +02:00
2025-01-02 18:35:10 +01:00
2025-01-08 21:03:06 +01:00
2025-01-16 10:08:16 +01:00
2024-04-17 14:38:21 +02:00
2024-10-23 14:30:42 -07:00
2024-08-14 09:20:36 -07:00
2024-08-31 15:42:44 +02:00
2024-08-31 15:42:44 +02:00
2024-12-17 17:45:43 -08:00
2024-12-14 20:53:48 +01:00