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

INTEGRATION [PR#2574 > development/8.7] BB-624 Retry connection to kafka if backbeat processes started before #2585

Merged
merged 23 commits into from
Nov 6, 2024

Conversation

bert-e
Copy link
Contributor

@bert-e bert-e commented Nov 6, 2024

This pull request has been created automatically.
It is linked to its parent pull request #2574.

Do not edit this pull request directly.
If you need to amend/cancel the changeset on branch
w/8.7/bugfix/BB-624-connection-retry, please follow this
procedure:

 $ git fetch
 $ git checkout w/8.7/bugfix/BB-624-connection-retry
 $ # <amend or cancel the changeset by _adding_ new commits>
 $ git push origin w/8.7/bugfix/BB-624-connection-retry

Please always comment pull request #2574 instead of this one.

BourgoisMickael and others added 12 commits November 4, 2024 15:04
Missing from S3C-9338 because this usage of
sdk doesn't use the env variable
Prevent hanging indefinitely if replication status' BackbeatConsumer
succeeds to connect to kafka but then FailedCRRPRoducer or
ReplayProducer fails
If probing too soon on startup some CRR components
can crash.
Check consumer exists for metric function to use it.
Also the probe server is started after the queue (like in ZENKO)
If destination is down on start, QueueProcessor would ignore
and start connecting to consumer.

Now if destination is down the process will stop and restart
so it can try connecting again to destination.
Copy link

codecov bot commented Nov 6, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 70.35%. Comparing base (6694ca8) to head (e297638).
Report is 23 commits behind head on development/8.7.

Files with missing lines Patch % Lines
bin/queuePopulator.js 0.00% 1 Missing ⚠️
...cation/destination/KafkaNotificationDestination.js 0.00% 1 Missing ⚠️
...ions/notification/queueProcessor/QueueProcessor.js 0.00% 1 Missing ⚠️
extensions/replication/replay/ReplayProducer.js 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

Files with missing lines Coverage Δ
...ensions/replication/failedCRR/FailedCRRProducer.js 81.81% <100.00%> (ø)
bin/queuePopulator.js 0.00% <0.00%> (ø)
...cation/destination/KafkaNotificationDestination.js 57.50% <0.00%> (ø)
...ions/notification/queueProcessor/QueueProcessor.js 56.73% <0.00%> (ø)
extensions/replication/replay/ReplayProducer.js 15.00% <0.00%> (ø)

... and 3 files with indirect coverage changes

Components Coverage Δ
Bucket Notification 66.66% <0.00%> (ø)
Core Library 75.21% <ø> (+0.07%) ⬆️
Ingestion 69.24% <ø> (ø)
Lifecycle 76.23% <ø> (+0.03%) ⬆️
Oplog Populator 82.95% <ø> (ø)
Replication 57.79% <50.00%> (ø)
Bucket Scanner 85.60% <ø> (ø)
@@                 Coverage Diff                 @@
##           development/8.7    #2585      +/-   ##
===================================================
+ Coverage            70.31%   70.35%   +0.03%     
===================================================
  Files                  194      194              
  Lines                12997    12997              
===================================================
+ Hits                  9139     9144       +5     
+ Misses                3848     3843       -5     
  Partials                10       10              
Flag Coverage Δ
api:retry 9.72% <0.00%> (ø)
api:routes 9.53% <0.00%> (ø)
bucket-scanner 85.60% <ø> (ø)
ingestion 12.45% <0.00%> (ø)
lib 7.53% <0.00%> (+0.03%) ⬆️
lifecycle 19.24% <0.00%> (+<0.01%) ⬆️
notification 0.87% <0.00%> (ø)
replication 19.03% <20.00%> (ø)
unit 46.61% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@BourgoisMickael BourgoisMickael force-pushed the w/8.7/bugfix/BB-624-connection-retry branch from 09f8af4 to 43ae6fd Compare November 6, 2024 02:26
@bert-e bert-e merged commit e297638 into development/8.7 Nov 6, 2024
8 of 9 checks passed
@bert-e bert-e deleted the w/8.7/bugfix/BB-624-connection-retry branch November 6, 2024 11:10
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.

3 participants