restore recreates mongos pod which recreates load balancer

Description

when I am restoring data form a specific backup, mongos pod are getting restarted and because of this a new load balancer is getting created and attached to mongos pod.
Is this default or I am doing anything wrong?
I am using sharded cluster architecture and I am exposing my mongos pod through load balancer for external access and creating a mongo connection string using that lb

Environment

None

Attachments

3
  • 25 Apr 2023, 08:21 AM
  • 25 Apr 2023, 07:11 AM
  • 25 Apr 2023, 07:11 AM

Activity

Show:

Slava Sarzhan September 6, 2023 at 12:16 PM

The issue was fixed.

Slava Sarzhan May 1, 2023 at 9:30 AM

We also reproduced it for logical backup. Thanks for the task.

Sergey Pronin May 1, 2023 at 9:30 AM

I reproduced this issue. It is not only for physical, but valid for logical as well.

Avinash Rai April 26, 2023 at 8:31 AM

Hi Slava Sarzhan,
Thanks for the quick response, just wanted to tell you that I think I am using logical backup/restore, I haven't enabled physical backup/restore.
So, I think by default it takes logical backup

Slava Sarzhan April 25, 2023 at 2:42 PM

Hi
Thank you for the report and feedback about physical backups/restors. We will check this issue and fix it in the next release.

Done

Details

Assignee

Reporter

Needs QA

Yes

Components

Fix versions

Affects versions

Priority

Smart Checklist

Created April 25, 2023 at 7:12 AM
Updated March 5, 2024 at 4:29 PM
Resolved September 11, 2023 at 9:58 AM