Skip to content
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

Ensure all primaries receive the FT.CREATE due to 'missing index error on querying' in multi-node scenarios #40

Merged
merged 1 commit into from
Jun 17, 2023

Conversation

filipecosta90
Copy link

Fixes for errors like the above on multi-node scenarios

  File "/home/ubuntu/ann-benchmarks/ann_benchmarks/runner.py", line 77, in <listcomp>
    descriptor, results = run_individual_query(
  File "/home/ubuntu/ann-benchmarks/ann_benchmarks/runner.py", line 77, in run_individual_query
    results = [single_query(x) for x in X_test]
  File "/home/ubuntu/ann-benchmarks/ann_benchmarks/runner.py", line 46, in single_query
    results = [single_query(x) for x in X_test]
    candidates = algo.query(v, count)
  File "/home/ubuntu/ann-benchmarks/ann_benchmarks/runner.py", line 77, in <listcomp>
  File "/home/ubuntu/ann-benchmarks/ann_benchmarks/algorithms/redisearch.py", line 85, in query
    results = [single_query(x) for x in X_test]
  File "/home/ubuntu/ann-benchmarks/ann_benchmarks/runner.py", line 46, in single_query
    return [int(doc) for doc in self.redis.execute_command(*q, target_nodes='random')[1:]]
  File "/usr/local/lib/python3.10/dist-packages/redis/cluster.py", line 1090, in execute_command
    candidates = algo.query(v, count)
  File "/home/ubuntu/ann-benchmarks/ann_benchmarks/algorithms/redisearch.py", line 85, in query
    return [int(doc) for doc in self.redis.execute_command(*q, target_nodes='random')[1:]]
  File "/usr/local/lib/python3.10/dist-packages/redis/cluster.py", line 1090, in execute_command
    raise e
  File "/usr/local/lib/python3.10/dist-packages/redis/cluster.py", line 1076, in execute_command
    raise e
  File "/usr/local/lib/python3.10/dist-packages/redis/cluster.py", line 1076, in execute_command
    res[node.name] = self._execute_command(node, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/redis/cluster.py", line 1126, in _execute_command
    res[node.name] = self._execute_command(node, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/redis/cluster.py", line 1126, in _execute_command
    response = redis_node.parse_response(connection, command, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/redis/client.py", line 1286, in parse_response
    response = redis_node.parse_response(connection, command, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/redis/client.py", line 1286, in parse_response
    response = connection.read_response()
  File "/usr/local/lib/python3.10/dist-packages/redis/connection.py", line 897, in read_response
    response = connection.read_response()
  File "/usr/local/lib/python3.10/dist-packages/redis/connection.py", line 897, in read_response
    raise response
redis.exceptions.ResponseError: ann_benchmark: no such index
    raise response
redis.exceptions.ResponseError: ann_benchmark: no such index
total test time: 57.677470684051514

@filipecosta90 filipecosta90 requested a review from GuyAv46 June 16, 2023 14:13
@filipecosta90 filipecosta90 changed the title Ensure all primaries receive the FT.CREATE due to 'missing index error on querying' Ensure all primaries receive the FT.CREATE due to 'missing index error on querying' in multi-node scenarios Jun 16, 2023
@filipecosta90 filipecosta90 merged commit f92c29b into multiclient_tool Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants