Skip to content

How to start the DPS indexer #520

Description

@kiselev-sv

Hello!
I have read https://github.com/optakt/flow-dps/blob/master/README.md and built all components
flow-dps-client
flow-dps-indexer
flow-dps-live
flow-dps-server

What are the next steps, how can I run dps-live or indexer to start from scratch?

I tried to start it, but there are errors

./flow-dps-indexer  -l debug -d /var/flow/data/protocol -t /var/flow/data/execution -c /var/flow/bootstrap/root.checkpoint -i /var/flow/data/index
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/prometheus/tsdb/wal.newSegmentBufReader(...)
        /root/gopath/pkg/mod/github.com/prometheus/tsdb@v0.7.1/wal/wal.go:716
github.com/prometheus/tsdb/wal.NewSegmentsRangeReader(0xc000591808, 0x1, 0x1, 0xc00000e420, 0x1, 0x0, 0x0)
        /root/gopath/pkg/mod/github.com/prometheus/tsdb@v0.7.1/wal/wal.go:699 +0x770
github.com/prometheus/tsdb/wal.NewSegmentsReader(...)
        /root/gopath/pkg/mod/github.com/prometheus/tsdb@v0.7.1/wal/wal.go:671
main.run(0x0)
        /root/flow-dps/cmd/flow-dps-indexer/main.go:135 +0xe53
main.main()

Where can I find root.checkpoint?
Any information needed
Thank You

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions