Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 27, 2025

Bumps github.com/twmb/franz-go from 1.20.0 to 1.20.2.

Changelog

Sourced from github.com/twmb/franz-go's changelog.

v1.20.2

This patch release fixes a field-access data race that has been around forever. Specifically, if a partition was moving from one broker to another via a metadata update at the same time a linger timer fired, there was a data race reading a pointer that was being written. Most 64 bit systems don't experience corruption with this type of race, so the code would execute fine but you may have the old sink start draining when the new sink should have.

This also further improves some linger logic.

  • 73c16c1d kgo: do not trigger draining early if a partition moves sinks while lingering
  • d5066143 kgo: fix data race when the linger timer fires

v1.20.1

This small patchfix release fixes a longstanding bug in RequestCachedMetadata, which became a problem now that kadm is using it by default: if no metadata was cached and you requested all topics, no metadata request would be issued and you'd get no valid response. Thank you @​countableSet for the find and fix.

This also adds the two new 1.20 config options to OptValues, and a big doc comment hinting to add new config opts going forward.

NOTE Follow up testing showed there are still more long-standing bugs with RequestCachedMetadata. Usage of that function has been reverted from kadm for the time being (which is, in the open source ecosystem, the only place this function was ever used). All users of kadm v1.17.0 should bump to v1.17.1.

  • 1087d3c7 kgo: add new opts to OptValues && big doc to do so going forward...
  • cad283f0 bugfix kgo: fix for empty fetch mapped metadata (#1143)
Commits
  • aea970d Merge pull request #1157 from twmb/cl
  • 17ed328 CHANGELOG: note v1.20.2 && fix internal typo
  • f290b11 Merge pull request #1156 from twmb/linger-race
  • 73c16c1 kgo: do not trigger draining early if a partition moves sinks while lingering
  • d506614 kgo: fix data race when the linger timer fires
  • 2658de1 Merge pull request #1153 from twmb/kfake-tests
  • c9d472c kfake: bump deps, improve test
  • 6dcebf0 cl: further note RequestCachedMetadata problems (#1152)
  • 03a765f cl: further note RequestCachedMetadata problems
  • 26666b0 kadm: revert usage of RequestCachedMetadata (#1151)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/twmb/franz-go](https://github.com/twmb/franz-go) from 1.20.0 to 1.20.2.
- [Changelog](https://github.com/twmb/franz-go/blob/master/CHANGELOG.md)
- [Commits](twmb/franz-go@v1.20.0...v1.20.2)

---
updated-dependencies:
- dependency-name: github.com/twmb/franz-go
  dependency-version: 1.20.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 27, 2025
@1995parham 1995parham merged commit 7f94c40 into main Oct 27, 2025
1 check passed
@1995parham 1995parham deleted the dependabot/go_modules/github.com/twmb/franz-go-1.20.2 branch October 27, 2025 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants