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

fix: set max decode size of proto message, add mvtx metrics #2283

Merged
merged 7 commits into from
Dec 16, 2024
Merged

Conversation

yhl25
Copy link
Contributor

@yhl25 yhl25 commented Dec 13, 2024

No description provided.

Copy link

codecov bot commented Dec 13, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 19 lines in your changes missing coverage. Please review.

Project coverage is 65.55%. Comparing base (c05c96a) to head (e8334fc).

Files with missing lines Patch % Lines
rust/numaflow-core/src/sink.rs 84.12% 10 Missing ⚠️
rust/numaflow-core/src/shared/create_components.rs 40.00% 3 Missing ⚠️
rust/numaflow-core/src/shared/grpc.rs 57.14% 3 Missing ⚠️
rust/numaflow-core/src/source.rs 80.00% 2 Missing ⚠️
rust/numaflow-core/src/transformer.rs 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2283      +/-   ##
==========================================
- Coverage   65.57%   65.55%   -0.02%     
==========================================
  Files         346      346              
  Lines       42396    42476      +80     
==========================================
+ Hits        27800    27845      +45     
- Misses      13528    13559      +31     
- Partials     1068     1072       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@vigith vigith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's also think whether (1000ms x 5) retry is enough

@yhl25
Copy link
Contributor Author

yhl25 commented Dec 16, 2024

let's also think whether (1000ms x 5) retry is enough

I think 5 is less, I have increased the retry count to 60 (1000ms * 60).

@yhl25 yhl25 marked this pull request as ready for review December 16, 2024 02:19
@yhl25 yhl25 requested a review from whynowy as a code owner December 16, 2024 02:19
@yhl25 yhl25 requested a review from vigith December 16, 2024 02:26
@@ -90,7 +90,7 @@ pub(crate) fn prost_timestamp_from_utc(t: DateTime<Utc>) -> Option<Timestamp> {

pub(crate) async fn create_rpc_channel(socket_path: PathBuf) -> error::Result<Channel> {
const RECONNECT_INTERVAL: u64 = 1000;
const MAX_RECONNECT_ATTEMPTS: usize = 5;
const MAX_RECONNECT_ATTEMPTS: usize = 60;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this print for every retry? else users might think why it is hanging. please print a error! for every retry?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a warn! between the retries, if the retries are exhausted we print error!.

Signed-off-by: Yashash H L <[email protected]>
@yhl25 yhl25 requested a review from vigith December 16, 2024 04:10
@yhl25 yhl25 enabled auto-merge (squash) December 16, 2024 04:13
@yhl25 yhl25 merged commit fc14696 into main Dec 16, 2024
28 checks passed
@yhl25 yhl25 deleted the mvtx-metrics branch December 16, 2024 04:28
SaniyaKalamkar pushed a commit to SaniyaKalamkar/numaflow that referenced this pull request Jan 19, 2025
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.

2 participants