-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osd: mon: account for stretch bucket configs/changes when detecting i…
…ntervals Factor out the logic we wrote in PeeringState::choose_acting into a new pg_pool_t::stretch_set_can_peer(), and use it in PastIntervals::check_new_interval(). Should have accounted for this when we first set it -- whoops! Set last_force_resend in the OSDMap when we change values, in order to make old clients do the right thing. The OSDs and new clients will detect changes directly by looking at the various crush bucket values in is_new_interval(). Signed-off-by: Greg Farnum <gfarnum@redhat.com>
- Loading branch information
1 parent
0f49616
commit 97fbd19
Showing
6 changed files
with
89 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters