ECS stack during pipeline deployment, didn't overwrite/delete the older tasks. Just added the new tasks.

0

We usually have two tasks running in our ECS. During a recent pipeline deployment within our ECS stack (to make a change in the ECS code), we encountered a scenario where two older tasks were not updated as expected. Instead, two new tasks were created alongside the existing ones. Subsequently, when reprocessing messages from the Dead Letter Queue (DLQ), some of these messages were picked up by the older tasks, leading to recurring failures.

We had to manually kill the two older tasks in order to resolve this issue.

I am seeking insights into the potential reasons behind this behavior. In a typical scenario, I would anticipate the older tasks to be updated or replaced rather than coexisting with new instances. Could this anomaly be attributed to a scaling issue, or are there other factors that may have influenced this behavior during the deployment process?

Additional Info -

  • The older tasks which we had to kill were created on 6th December, and the changes in code were very minor which couldn't have caused the issue.
  • This is our ECS which contains 2 tasks usually. Enter image description here
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠