Skip to content

Log all errors during replica set update - #5493

Merged
ffuugoo merged 1 commit into
devfrom
update-impl-error-log
Nov 20, 2024
Merged

ffuugoo merged 1 commit into
devfrom
update-impl-error-log

Conversation

@ffuugoo

@ffuugoo ffuugoo commented Nov 20, 2024 •

Copy link
Copy Markdown
Contributor

This PR restructures ShardReplicaSet::update_impl a tiny bit, so that we always log all replica errors.
For some reason, we did not always do so under some code paths.

All Submissions:

  • Contributions should target the dev branch. Did you create your branch from dev?
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. Does your submission pass tests?
  2. Have you formatted your code locally using cargo +nightly fmt --all command prior to submission?
  3. Have you checked your code using cargo clippy --all --all-features command?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

@ffuugoo
ffuugoo requested review from generall and timvisee November 20, 2024 13:29

@timvisee timvisee left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple and effective. Thanks!

@ffuugoo
ffuugoo merged commit 5490fc5 into dev Nov 20, 2024
@ffuugoo
ffuugoo deleted the update-impl-error-log branch November 20, 2024 15:22
@timvisee timvisee mentioned this pull request Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants