-
Notifications
You must be signed in to change notification settings - Fork 19
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
Circuit breaker backport #2425
Circuit breaker backport #2425
Conversation
Hello rachedbenmustapha,My role is to assist you with the merge of this Status report is not available. |
2217df7
to
ae56f08
Compare
@@ -427,7 +492,19 @@ class LifecycleConductor { | |||
}, next); | |||
}, | |||
() => isTruncated, | |||
err => cb(err, nEnqueued)); | |||
err => { | |||
if (!err) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we also call cb
when there is an error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, seems like the cb call was wrongly deduped.
return this._bucketSource === 'zookeeper' || // bucket list stored in zk | ||
this._bucketSource === 'mongodb' || // bucket stream checkpoints in zk | ||
this._bucketSource === 'bucketd'; // bucket stream checkpoints in zk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Little more compact (feel free to ignore):
return this._bucketSource === 'zookeeper' || // bucket list stored in zk | |
this._bucketSource === 'mongodb' || // bucket stream checkpoints in zk | |
this._bucketSource === 'bucketd'; // bucket stream checkpoints in zk | |
return ['zookeeper', 'mongodb', 'bucketd'].includes(this._bucketSource); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, once the callback remark is addressed.
ab7984a
to
11eda4f
Compare
11eda4f
to
1875e1a
Compare
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/8.5/feature/BB-413-circuit-breaker-backport origin/development/8.5
$ git merge origin/feature/BB-413-circuit-breaker-backport
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/8.5/feature/BB-413-circuit-breaker-backport |
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/8.6/feature/BB-413-circuit-breaker-backport origin/development/8.6
$ git merge origin/w/8.5/feature/BB-413-circuit-breaker-backport
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/8.6/feature/BB-413-circuit-breaker-backport |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option
|
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue BB-413. Goodbye rachedbenmustapha. |
No description provided.