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

Circuit breaker backport #2425

Merged
merged 10 commits into from
Sep 14, 2023

Conversation

rachedbenmustapha
Copy link
Contributor

No description provided.

@bert-e
Copy link
Contributor

bert-e commented Jun 16, 2023

Hello rachedbenmustapha,

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Status report is not available.

@bert-e
Copy link
Contributor

bert-e commented Jun 16, 2023

Incorrect fix version

The Fix Version/s in issue BB-413 contains:

  • 7.70.2

Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:

  • 7.70.2

  • 8.4.26

  • 8.5.5

  • 8.6.23

Please check the Fix Version/s of BB-413, or the target
branch of this pull request.

@rachedbenmustapha rachedbenmustapha force-pushed the feature/BB-413-circuit-breaker-backport branch from 2217df7 to ae56f08 Compare August 25, 2023 22:21
@bert-e
Copy link
Contributor

bert-e commented Aug 25, 2023

Incorrect fix version

The Fix Version/s in issue BB-413 contains:

  • 7.70.5

Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:

  • 7.70.5

  • 8.5.5

  • 8.6.27

  • 8.7.0

Please check the Fix Version/s of BB-413, or the target
branch of this pull request.

@rachedbenmustapha rachedbenmustapha marked this pull request as ready for review August 25, 2023 23:02
@@ -427,7 +492,19 @@ class LifecycleConductor {
}, next);
},
() => isTruncated,
err => cb(err, nEnqueued));
err => {
if (!err) {
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Comment on lines +623 to +627
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
Copy link
Contributor

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):

Suggested change
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);

@bert-e
Copy link
Contributor

bert-e commented Sep 12, 2023

Incorrect fix version

The Fix Version/s in issue BB-413 contains:

  • 7.70.5

Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:

  • 7.70.6

  • 8.5.5

  • 8.6.28

  • 8.7.0

Please check the Fix Version/s of BB-413, or the target
branch of this pull request.

Copy link
Contributor

@nicolas2bert nicolas2bert left a 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.

@rachedbenmustapha rachedbenmustapha force-pushed the feature/BB-413-circuit-breaker-backport branch from ab7984a to 11eda4f Compare September 13, 2023 05:47
@rachedbenmustapha rachedbenmustapha force-pushed the feature/BB-413-circuit-breaker-backport branch from 11eda4f to 1875e1a Compare September 13, 2023 05:49
@bert-e
Copy link
Contributor

bert-e commented Sep 13, 2023

Conflict

A conflict has been raised during the creation of
integration branch w/8.5/feature/BB-413-circuit-breaker-backport with contents from feature/BB-413-circuit-breaker-backport
and development/8.5.

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

@bert-e
Copy link
Contributor

bert-e commented Sep 13, 2023

Conflict

A conflict has been raised during the creation of
integration branch w/8.6/feature/BB-413-circuit-breaker-backport with contents from w/8.5/feature/BB-413-circuit-breaker-backport
and development/8.6.

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

@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2023

Integration data created

I have created the integration data for the additional destination branches.

The following branches will NOT be impacted:

  • development/7.10
  • development/7.4

You can set option create_pull_requests if you need me to create
integration pull requests in addition to integration branches, with:

@bert-e create_pull_requests

@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2023

Waiting for approval

The following approvals are needed before I can proceed with the merge:

  • the author

  • 2 peers

@rachedbenmustapha
Copy link
Contributor Author

/approve

@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2023

Build failed

The build for commit did not succeed in branch w/8.5/feature/BB-413-circuit-breaker-backport.

The following options are set: approve

@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2023

Build failed

The build for commit did not succeed in branch w/8.6/feature/BB-413-circuit-breaker-backport.

The following options are set: approve

@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2023

In the queue

The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.

The changeset will be merged in:

  • ✔️ development/7.70

  • ✔️ development/8.5

  • ✔️ development/8.6

  • ✔️ development/8.7

The following branches will NOT be impacted:

  • development/7.10
  • development/7.4

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.

IMPORTANT

Please do not attempt to modify this pull request.

  • Any commit you add on the source branch will trigger a new cycle after the
    current queue is merged.
  • Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.

The following options are set: approve

@bert-e
Copy link
Contributor

bert-e commented Sep 14, 2023

I have successfully merged the changeset of this pull request
into targetted development branches:

  • ✔️ development/7.70

  • ✔️ development/8.5

  • ✔️ development/8.6

  • ✔️ development/8.7

The following branches have NOT changed:

  • development/7.10
  • development/7.4

Please check the status of the associated issue BB-413.

Goodbye rachedbenmustapha.

@bert-e bert-e merged commit 1875e1a into development/7.70 Sep 14, 2023
3 checks passed
@bert-e bert-e deleted the feature/BB-413-circuit-breaker-backport branch September 14, 2023 06:43
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.

5 participants