File tree 5 files changed +14
-20
lines changed
5 files changed +14
-20
lines changed Original file line number Diff line number Diff line change @@ -1484,8 +1484,7 @@ void ClusterStateManager::processQueueAssignmentRequest(
1484
1484
void ClusterStateManager::processQueueAssignmentAdvisory (
1485
1485
const bmqp_ctrlmsg::ControlMessage& message,
1486
1486
mqbnet::ClusterNode* source,
1487
- bool delayed,
1488
- bool fromLeaderAdvisory)
1487
+ bool delayed)
1489
1488
{
1490
1489
// executed by the cluster *DISPATCHER* thread
1491
1490
@@ -2161,8 +2160,7 @@ void ClusterStateManager::processLeaderAdvisory(
2161
2160
2162
2161
processQueueAssignmentAdvisory (controlMsg,
2163
2162
source,
2164
- false /* not delayed */ ,
2165
- true /* called from leaderAdvisory */ );
2163
+ false /* not delayed */ );
2166
2164
2167
2165
// Leader status and sequence number are updated unconditionally. It may
2168
2166
// have been updated by one of the routines called earlier in this method,
Original file line number Diff line number Diff line change @@ -489,11 +489,10 @@ class ClusterStateManager BSLS_KEYWORD_FINAL
489
489
// / TODO_CSL: This is the current workflow which we should be able to
490
490
// / remove after the new workflow via
491
491
// / ClusterQueueHelper::onQueueAssigned() is stable.
492
- void processQueueAssignmentAdvisory (
493
- const bmqp_ctrlmsg::ControlMessage& message,
494
- mqbnet::ClusterNode* source,
495
- bool delayed = false ,
496
- bool fromLeaderAdvisory = false ) BSLS_KEYWORD_OVERRIDE;
492
+ void
493
+ processQueueAssignmentAdvisory (const bmqp_ctrlmsg::ControlMessage& message,
494
+ mqbnet::ClusterNode* source,
495
+ bool delayed = false ) BSLS_KEYWORD_OVERRIDE;
497
496
498
497
// / Process the queue unAssigned advisory in the specified `message`
499
498
// / received from the specified `source`.
Original file line number Diff line number Diff line change @@ -1784,8 +1784,7 @@ void ClusterStateManager::processQueueAssignmentRequest(
1784
1784
void ClusterStateManager::processQueueAssignmentAdvisory (
1785
1785
BSLS_ANNOTATION_UNUSED const bmqp_ctrlmsg::ControlMessage& message,
1786
1786
BSLS_ANNOTATION_UNUSED mqbnet::ClusterNode* source,
1787
- BSLS_ANNOTATION_UNUSED bool delayed,
1788
- BSLS_ANNOTATION_UNUSED bool fromLeaderAdvisory)
1787
+ BSLS_ANNOTATION_UNUSED bool delayed)
1789
1788
{
1790
1789
BSLS_ASSERT_SAFE (false &&
1791
1790
" This method should only be invoked in non-CSL mode" );
Original file line number Diff line number Diff line change @@ -589,11 +589,10 @@ class ClusterStateManager BSLS_KEYWORD_FINAL
589
589
// / TODO_CSL: This is the current workflow which we should be able to
590
590
// / remove after the new workflow via
591
591
// / ClusterQueueHelper::onQueueAssigned() is stable.
592
- void processQueueAssignmentAdvisory (
593
- const bmqp_ctrlmsg::ControlMessage& message,
594
- mqbnet::ClusterNode* source,
595
- bool delayed = false ,
596
- bool fromLeaderAdvisory = false ) BSLS_KEYWORD_OVERRIDE;
592
+ void
593
+ processQueueAssignmentAdvisory (const bmqp_ctrlmsg::ControlMessage& message,
594
+ mqbnet::ClusterNode* source,
595
+ bool delayed = false ) BSLS_KEYWORD_OVERRIDE;
597
596
598
597
// / Process the queue unAssigned advisory in the specified `message`
599
598
// / received from the specified `source`.
Original file line number Diff line number Diff line change @@ -86,9 +86,9 @@ class ClusterStateManager {
86
86
AfterPartitionPrimaryAssignmentCb;
87
87
88
88
// / Pair of (appId, appKey)
89
- typedef bsl::pair<bsl::string, mqbu::StorageKey> AppInfo;
89
+ typedef bsl::pair<bsl::string, mqbu::StorageKey> AppInfo;
90
90
typedef bsl::unordered_map<bsl::string, mqbu::StorageKey> AppInfos;
91
- typedef AppInfos::const_iterator AppInfosCIter;
91
+ typedef AppInfos::const_iterator AppInfosCIter;
92
92
93
93
struct QueueAssignmentResult {
94
94
enum Enum {
@@ -336,8 +336,7 @@ class ClusterStateManager {
336
336
virtual void
337
337
processQueueAssignmentAdvisory (const bmqp_ctrlmsg::ControlMessage& message,
338
338
mqbnet::ClusterNode* source,
339
- bool delayed = false ,
340
- bool fromLeaderAdvisory = false ) = 0 ;
339
+ bool delayed = false ) = 0 ;
341
340
342
341
// / Process the queue unAssigned advisory in the specified `message`
343
342
// / received from the specified `source`.
You can’t perform that action at this time.
0 commit comments