I am trying the meltano cloud. How to reset a stat...
# troubleshooting
j
I am trying the meltano cloud. How to reset a state (say I have loaded 80% data, but want to start from 0%), do I have to remove the deployment? https://docs.meltano.com/cloud/usage#backfills-and-state
I deleted the deployment and created it. It seems the same S3 path will be used, if the deployment name is same. I will try to use a different deployment name this time, but it will be great if I can delete the state via
meltano-cloud
CLI
Oops, it doesn't work. The state path is based on the environment name not product name, something like this
Copy code
smart_open.s3.MultipartWriter('meltano-cloud-prod-job-state-us-west-2', '01..SY1/01..WB/STATE/prod:tap-github-to-target-timeplus/lock'):
I may have to change the environment name in melanto.yml as a workaround
yes, using a different env name is working
e
Hi @jove_zhong! Just to confirm, were you able to work around this by changing the environment name and the pipeline was correctly synced from the start?
(state management for Cloud is definitely planned)
j
yes, I changed the env name from
prod
to something like
github
and create a new deployment with that env and the pipeline works
```2023-07-05T182431.653883Z [info ] No state found for git:tap-github-to-target-timeplus.
2023-07-05T182431.668192Z [warning ] No state was found, complete import.```