Open Braqzen opened 10 months ago
Loud and clear.
When you initially run for index deploy
after altering the service, the message should read Indexer({namespace}. {identifier}) already exists. Use --replace-indexer to re-start the indexer service and again during deployment.
I had a service running in the docker container which did not include the
--replace-indexer
flag.When I have altered an indexer and wanted to redeploy it I was presented with a message telling me to add the
--replace-indexer
flag but it did not tell me where to use it.I have assumed that I was meant to replace
with
but that was insufficient.
To fix the issue and redeploy the new version of the indexer I had to start the indexer service with that
--replace--indexer
flag in order for the flag in thedeploy
command to work.Solution: replace the current message to inform the user that both the service and the deploy command must provide the
--replace-indexer
flag in order to redeploy an indexer under the same name.