Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mds: return if set<mds_rank_t> is empty #27640

Closed
wants to merge 1 commit into from

Conversation

zealoussnow
Copy link
Contributor

Signed-off-by: Leo Zhang nguzcf@gmail.com

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Signed-off-by: Leo Zhang <nguzcf@gmail.com>
@zealoussnow
Copy link
Contributor Author

retest this please

@batrick batrick added cephfs Ceph File System needs-review labels Apr 17, 2019
Copy link
Member

@batrick batrick left a comment

Choose a reason for hiding this comment

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

What bug are you trying to fix with this change?

@zealoussnow
Copy link
Contributor Author

What bug are you trying to fix with this change?

It’s not a bug, I think if s is empty, we don’t need assign it to recovery_set.

@batrick
Copy link
Member

batrick commented May 8, 2019

The behavior is not the same though. Assigning an empty set would clear recovery_set.

Thanks for the contribution but since there is no known problem, I'm going to close this.

@batrick batrick closed this May 8, 2019
@zealoussnow zealoussnow deleted the wip-190417 branch May 9, 2019 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cephfs Ceph File System needs-review
Projects
None yet
2 participants