Skip to content

Fixed double compression of one message #504

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

Merged
merged 2 commits into from
Jun 14, 2025
Merged

Conversation

alex268
Copy link
Member

@alex268 alex268 commented Jun 10, 2025

Fixes #501

@alex268 alex268 requested a review from pnv1 June 10, 2025 13:44
@codecov-commenter
Copy link

codecov-commenter commented Jun 10, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 27 lines in your changes missing coverage. Please review.

Project coverage is 59.35%. Comparing base (4822d6e) to head (2cb5c87).

Files with missing lines Patch % Lines
...ain/java/tech/ydb/topic/write/impl/WriterImpl.java 60.60% 8 Missing and 5 partials ⚠️
...ava/tech/ydb/topic/write/impl/EnqueuedMessage.java 75.00% 8 Missing and 2 partials ⚠️
...ic/src/main/java/tech/ydb/topic/write/Message.java 0.00% 1 Missing and 1 partial ⚠️
.../java/tech/ydb/topic/write/impl/MessageSender.java 66.66% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #504      +/-   ##
============================================
+ Coverage     59.31%   59.35%   +0.04%     
+ Complexity     2223     2219       -4     
============================================
  Files           327      327              
  Lines         13449    13433      -16     
  Branches       1338     1334       -4     
============================================
- Hits           7977     7973       -4     
+ Misses         4868     4860       -8     
+ Partials        604      600       -4     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.


public boolean isCompressed() {
return isCompressed.get();
this.originLength = bytes.length;
Copy link
Collaborator

Choose a reason for hiding this comment

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

originalSize?

@alex268 alex268 merged commit eb21d71 into ydb-platform:master Jun 14, 2025
10 checks passed
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.

Double sending of topic message creates double comporessed data
3 participants