Deleted one org in our cluster and its user as well, i m creating same org again with same usernames
deleted one org in our cluster and its user as well, i m creating same org again with same usernames, i am getting error username already exists
10 Replies
Anwser: Yes it does take time
cc: @Swarnika for more clarification
How long?
I am still not able to add user which i deleted before
@shikharTS can you please help with this
I logged support ticket after not getting sufficient traction here for my query
I think it is marked for deletion. It takes sometime to get deleted. Here is what is found internally
The default period of cleanup is 24 hours and can be configured with this command:
tscli --adv service add-javaopt tomcat.tomcat D orion.orgsConfiguration.orgsCleanUpCronExpression "0 0 * * *"
Also, the cleanup job will be triggered after 1 week of Org Deletion by customer. This buffer time is kept to enable a restore in case the customer asks for it. The buffer is also configurable via this command:
tscli --adv service add-javaopt tomcat.tomcat D orion.orgsConfiguration.retainOrgContentSec 604800
You can get the flags changed through the support ticket to whatever value you need.
So if i need to revert an org, by creating a support ticket is that can be reverted?
Without affecting other existing orgs?
yes. but that ask should be withing 1 week of org deletion
And user part of that org would be back too as well?
Yeah it is with in week still
I logged ticket yesterday for user creation, i updated ticket to revert back the org if everything can be reverted
I think so. The support should be able to help you with this..
Support is very slow , hardly responsive
You can try intercom which is chat support on your TS cluster to get help on this? That should be more responsive..
Just wanted to chime in to say I hit the same issue last month, but I found that if I separately deleted the user before deleting the org, I wouldn't have any issue creating the user again in the new org. Updated our process to be to always remove all org users before removing an org.