Add tests for direct-key SST formats and meta file roundtrip
Add comprehensive test coverage for the new direct-key formats:
- test_direct_variable_sst: Tests write_direct_variable_sst and
lookup_direct_variable covering all value types (small, medium,
deleted, blob reference)
- test_meta_file_direct_fixed_roundtrip: Tests meta file write/read
for DirectFixed format entries with end-to-end lookup verification
- test_meta_file_direct_variable_roundtrip: Tests meta file write/read
for DirectVariable format entries with end-to-end lookup verification
Also fixes a bug in lookup_direct_variable where the standard block
offset calculations were used instead of the direct-variable layout.
Added specialized methods for direct-variable block access:
- decode_direct_variable_value
- get_direct_variable_block_range
- get_direct_variable_block
- read_direct_variable_block
Co-Authored-By:
Claude Opus 4.5 <noreply@anthropic.com>
Showing
This diff is collapsed.
Please
register
or
sign in
to comment