PB-7411: Update heartbeatTimeoutSecs,electionTimeoutMillis for the pxcentral mongodb template. #589
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For pxcental mongodb template: Apply replicaset(rs) reconfig by increasing the heartbeatTimeoutSecs and electionTimeoutMillis
What this PR does / why we need it:
To fix the px-backup pod crash issue as the mongoDB went into the non-writable state.
Which issue(s) this PR fixes (optional)
Closes #PB-7411
Special notes for your reviewer:
![Screenshot from 2024-06-29 20-11-06](https://private-user-images.githubusercontent.com/116876049/344548586-cd0df100-00e7-4c97-a497-3810ca01ec10.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODQyNTYsIm5iZiI6MTczODk4Mzk1NiwicGF0aCI6Ii8xMTY4NzYwNDkvMzQ0NTQ4NTg2LWNkMGRmMTAwLTAwZTctNGM5Ny1hNDk3LTM4MTBjYTAxZWMxMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQwMzA1NTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW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