mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
af76ff1dbf
Current WAL format doesn't seem to be extendable without breaking reverse compatibility. This PR proposes to introduces a metadata section for each action in the WAL to which optional fields can be added. Adding new fields is trivial and doesn't have to break backwards compatibility if these are not critical for correctness. Metadata contains the minimum version of the reader allowed to interpret it. Removing fields is not supported.
3 lines
118 B
CMake
3 lines
118 B
CMake
add_executable (wal_action_metadata wal_action_metadata.cpp)
|
|
target_link_libraries (wal_action_metadata PRIVATE dbms)
|