You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/usr/local/lib/python3.7/site-packages/jinahub/indexers/searcher/FaissSearcher/faiss_searcher.py", line 129, in __init__
self._load_dump(dump_path, dump_func, prefetch_size, **kwargs)
File "/usr/local/lib/python3.7/site-packages/jinahub/indexers/searcher/FaissSearcher/faiss_searcher.py", line 145, in _load_dump
iterator = dump_func(shard_id=self.runtime_args.pea_id)
File "/usr/local/lib/python3.7/site-packages/jinahub/indexers/storage/PostgreSQLStorage/postgres_indexer.py", line 264, in _get_delta
shard_id, total_shards, self.virtual_shards
File "/usr/local/lib/python3.7/site-packages/jinahub/indexers/storage/PostgreSQLStorage/postgres_indexer.py", line 239, in _vshards_to_get
if shard_id > total_shards - 1:
TypeError: unsupported operand type(s) for -: 'str' and 'int'
The text was updated successfully, but these errors were encountered:
When defining the pod via yaml, the shards and replicas are interpreted as string.
This leads to the exception bellow:
Config
Error
The text was updated successfully, but these errors were encountered: