Skip to content

document-benchmark crashed using wiki dataset #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
michaelrun opened this issue Jul 18, 2024 · 2 comments
Open

document-benchmark crashed using wiki dataset #22

michaelrun opened this issue Jul 18, 2024 · 2 comments
Assignees
Labels

Comments

@michaelrun
Copy link

I'm using Redis 7.2.0 (29622276/0) 64 bit and RediSearch module 2.8.13. download document-benchmark tool: RediSeachBenchmark.
here is the steps to reproduce:

  1. wget https://s3.amazonaws.com/benchmarks.redislabs/redisearch/datasets/enwiki-abstract/enwiki-latest-abstract.xml
  2. ./document-benchmark -hosts "127.0.0.1:6379" -engine redis -file enwiki-latest-abstract.xml -maxdocs 100000
  3. ./document-benchmark -hosts "127.0.0.1:6379" -engine redis -benchmark search -file enwiki-latest-abstract.xml
    then RediSearchBenchmark crashed during running:
2024/07/18 09:00:59 Using a total of 256 concurrent benchmark workers
2024/07/18 09:00:59 Using input file to produce terms for the benchmarks
2024/07/18 09:00:59 Starting full-text queries benchmark
                 Test time                      Command Rate   Client p50 with RTT(ms)            Total Commands
panic: redis: unexpected type=map[interface {}]interface {} for Slice

goroutine 428 [running]:
main.Benchmark.func1()
        /github/workspace/benchmark.go:172 +0x21c
created by main.Benchmark
        /github/workspace/benchmark.go:166 +0x2bb
@fcostaoliveira fcostaoliveira self-assigned this Jul 18, 2024
@fcostaoliveira
Copy link

Hi there @michaelrun, let me check this until end of week. will reproduce and fix and reply back

@michaelrun
Copy link
Author

Thanks, @fcostaoliveira, any more information needed, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants