[File] [PATCH luajit] Add Tarantool snap, xlog, run, index and vylog magic

Christos Zoulas christos at zoulas.com
Mon Sep 28 11:29:21 EDT 2026


On 2026-09-28 3:07 am, Sergey Bronnikov wrote:
> From: Sergey Bronnikov <sergeyb at tarantool.org>
> 
> Hello,
> 
> Tarantool is an in-memory database [1]. The patch adds support for
> Tarantool file formats. Each test file is a valid file that is
> successfully accepted by the Tarantool. One can verify this using
> the following Lua chunk:
> 
> tarantool -e "
>> for _, type in ipairs({'snap', 'run', 'vylog', 'xlog', 'index'}) do
>   local file = ('tests/tarantool-%s.testfile'):format(type)
>   for _, record in require('xlog').pairs(file) do
>     require('log').info(record)
>   end
> end"

Yes, but couldn't you have chosen something more unique and
specific to the tool rather than a potentially common words?
I mean I can see a text file starting with SNAP\n that is
not a tarantool snapshot file... Or perhaps use string/b
at least?

Best,

christos


More information about the File mailing list