-
In Documentation it is mentioned MARQO_MAX_NUMBER_OF_REPLICAS=2 create maximum of 2 replicas. Does this mean it creates 2 copies of the data I am indexing always? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @renuka010 , thanks for bringing this up. I checked the code base and can confirm that this env var is removed in Marqo 2.x. This env var is used to control the maximum number of replicas in open_search in Marqo 1.x, and becomes invalid when we move on to Vespa in Marqo 2.x. We will update the document to remove this. On the other hand, if you would like to achieve HA in your setup, you'll need to have an external Vespa cluster deployed and configure the replica/redundancies properly. Please see this doc for details. If you are using k8s, you can also follow this repo: https://github.com/marqo-ai/marqo-on-kubernetes Please let me know if this answers you questions. Cheers. |
Beta Was this translation helpful? Give feedback.
Hello @renuka010 , thanks for bringing this up. I checked the code base and can confirm that this env var is removed in Marqo 2.x. This env var is used to control the maximum number of replicas in open_search in Marqo 1.x, and becomes invalid when we move on to Vespa in Marqo 2.x. We will update the document to remove this.
On the other hand, if you would like to achieve HA in your setup, you'll need to have an external Vespa cluster deployed and configure the replica/redundancies properly. Please see this doc for details. If you are using k8s, you can also follow this repo: https://github.com/marqo-ai/marqo-on-kubernetes
Please let me know if this answers you questions. Cheers.