Skip to content

Conversation

@astubbs
Copy link
Contributor

@astubbs astubbs commented Jul 6, 2022

Fixes: #329

Test that committing can happen successfully when the base offset for the commit is adjacent to transaction markers in the input partitions.

The system assumes that the next expected (base committed) offset, will always be 1 offset above the highest succeeded. But tx makers can increase this gap from 1 to potentially much higher.

  • Changelog
  • Description
  • needs issue tracker

Blocked by:

astubbs added 3 commits June 29, 2022 15:53
- CVE-2020-8908: Files::createTempDir local information disclosure vulnerability #4011
- Only used transitively from tests, and is a deprecated function
- google/guava#4011
@astubbs astubbs self-assigned this Jul 6, 2022
Copy link
Contributor Author

@astubbs astubbs left a comment

Choose a reason for hiding this comment

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

good for review

@astubbs astubbs requested a review from rkolesnev July 6, 2022 20:39
@rkolesnev
Copy link
Contributor

Looks good to me. Build failed though.

@rkolesnev
Copy link
Contributor

Failed on Enforcer check:
21:55:30 [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-versions) @ parallel-consumer-core ---
21:55:30 [WARNING] Rule 7: org.apache.maven.plugins.enforcer.RequireReleaseDeps failed with message:
21:55:30 Found Banned Dependency: io.stubbs.truth:truth-generator-api:jar:0.1.1-SNAPSHOT

@astubbs astubbs changed the title Committing around transaction markers bug bug: Committing around transaction markers causes encoder to crash Jul 11, 2022
@astubbs astubbs changed the title bug: Committing around transaction markers causes encoder to crash fixes #329: Committing around transaction markers causes encoder to crash Jul 11, 2022
@astubbs astubbs marked this pull request as ready for review July 11, 2022 21:44
Copy link
Contributor Author

@astubbs astubbs left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor Author

@astubbs astubbs left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@rkolesnev rkolesnev left a comment

Choose a reason for hiding this comment

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

LGTM

@astubbs astubbs merged commit 01611ba into confluentinc:master Jul 12, 2022
@astubbs astubbs deleted the bugs/tx-marker-bug branch July 12, 2022 13:03
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.

Cannot have negative length BitSet error - committing transaction adjacent offsets

2 participants