2 replicas running for a service where replica was never set

I have a service where 2 deployments are running. Replica was never changed and is currently at 1.
Solution:
New reply sent from Help Station thread:
We were able to identify a container that had not been properly removed, and have stopped it. You should no longer see logs from two instances.
You're seeing this because this thread has been automatically linked to the Help Station thread....
Jump to solution
11 Replies
Percy
Percy2mo ago
Project ID: 873779ef-a0a8-4e05-a9d0-b5b8092788e9
tensor8045
tensor80452mo ago
873779ef-a0a8-4e05-a9d0-b5b8092788e9
Adam
Adam2mo ago
have you pushed a commit or changed settings recently? There is a deployment overlap time on railway to prevent downtime, this can cause duplicated sessions with things like Discord bots you can change the overlap time to 0, give me a sec to find the env variable RAILWAY_DEPLOYMENT_OVERLAP_SECONDS
tensor8045
tensor80452mo ago
Didn't change any settings recently. Just pushed new changes in the codebase. Will it go away if I just deploy again?
Adam
Adam2mo ago
every time you make a change or a new deploy it will create a new environment, then will wait for an amount of seconds equal to the env variable I posted above, then remove the old environment As I said in my first message, set the variable RAILWAY_DEPLOYMENT_OVERLAP_SECONDS to 0 in your service settings
tensor8045
tensor80452mo ago
I am not sure we are on the same page. Two deployments are running concurrently right now this moment. Replica is set to 1 and has always been. For some reason there is another replica running. I haven't deployed code in over hours. I guess I had a different timeline in mind when I said "recently" I can see logs of the same thing its supposed to print twice. From two different replica / deployment id
angelo
angelo2mo ago
!t
Duchess
Duchess2mo ago
New reply sent from Help Station thread:
This thread has been escalated to the Railway team.
You're seeing this because this thread has been automatically linked to the Help Station thread.
angelo
angelo2mo ago
Hey @tensor8045, I raised the issue over to the support on-call. We will run an investigation as soon as we can.
tensor8045
tensor80452mo ago
Sure. Appreciate it.
Solution
Duchess
Duchess2mo ago
New reply sent from Help Station thread:
We were able to identify a container that had not been properly removed, and have stopped it. You should no longer see logs from two instances.
You're seeing this because this thread has been automatically linked to the Help Station thread.
Want results from more Discord servers?
Add your server