influxdata / influxdata/kapacitor

data source open: zip: not a valid zip file

Open
#2,210 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Trying to run the stream tick stream to backfill for last 2 days and got the following error:

```
# kapacitor define mainscript -tick mainscript.tick

# kapacitor record query -query $'SELECT * FROM "db"."autogen"."test" WHERE time > now() - 2d' -type stream

f85a22a3-e5d6-42f5-901c-e24f1a1f0c9c

# kapacitor replay -task mainscript -recording f85a22a3-e5d6-42f5-901c-e24f1a1f0c9c -rec-time
a85ad9bc-72d8-42e8-a5f9-a88219008cc8
running replay: data source open: zip: not a valid zip file
```

INLFUX: `v 1.7.6`
KAPACITOR: `Kapacitor OSS 1.5.2 (git: HEAD 3086452d00830e01d932838d8c6d1df818648ad3)`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `kapacitor define`, `record query`, and `replay` commands from the report with the stated InfluxDB and Kapacitor versions. Trace how the recording is written and then opened during replay, and verify that the recorded stream can be replayed without the `zip: not a valid zip file` error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.