Skip to content

error: EOF #1

@re-vax

Description

@re-vax

When I try to run this tool on my data files I get an error at the #120720 line

# parse-nats-data -d helloadvise/msgs.743.dat -i helloadvise/msgs.743.idx |wc -l
120720

# parse-nats-data -d helloadvise/msgs.743.dat -i helloadvise/msgs.743.idx |tail 
[2019-12-27 15:11:09.515039941 +0000 UTC] seq: 101645846 | size: 507 | offset: 63241652 | crc32: 8ff3dc86
[2019-12-27 15:11:09.515991053 +0000 UTC] seq: 101645847 | size: 535 | offset: 63242167 | crc32: ca57d260
[2019-12-27 15:11:09.516967909 +0000 UTC] seq: 101645848 | size: 454 | offset: 63242710 | crc32: eac3bd70
[2019-12-27 15:11:09.51825422 +0000 UTC] seq: 101645849 | size: 504 | offset: 63243172 | crc32: ddf719f4
[2019-12-27 15:11:09.52005371 +0000 UTC] seq: 101645850 | size: 513 | offset: 63243684 | crc32: fcfe99c4
[2019-12-27 15:11:09.520969322 +0000 UTC] seq: 101645851 | size: 514 | offset: 63244205 | crc32: d8453be
[2019-12-27 15:11:09.5218094 +0000 UTC] seq: 101645852 | size: 513 | offset: 63244727 | crc32: 73fb8f9a
[2019-12-27 15:11:09.522721075 +0000 UTC] seq: 101645853 | size: 514 | offset: 63245248 | crc32: f1902add
[2019-12-27 15:11:09.523895914 +0000 UTC] seq: 101645854 | size: 507 | offset: 63245770 | crc32: 4121cded
error: EOF

on just the same error on subs.dat and clients.dat

# parse-nats-data -s helloadvise/subs.dat 
error: EOF

# parse-nats-data -c clients.dat 
error: EOF

I'm using last version on master branch of nats-streaming server:
VERSION = "0.16.2"

Did the format of data changed since last year?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions