[File] [PATCH luajit] Add Tarantool snap, xlog, run, index and vylog magic
Sergey Bronnikov
sergeyb at tarantool.org
Tue Sep 29 03:15:18 EDT 2026
Hello,
Yes, I agree - it should have been done other way.
But it’s done, and it’s been working for 10 years.
Sergey
On 9/28/26 18:29, Christos Zoulas wrote:
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.astron.com/pipermail/file/attachments/20260929/4649bf8a/attachment.htm>
More information about the File
mailing list