Skip to content

Conversation

@AdamGS
Copy link
Contributor

@AdamGS AdamGS commented Jan 8, 2026

This PR fixes some issues that have crept into this branch since the last minor release.

@AdamGS AdamGS changed the title Get the 0.12 release branch to green CI [release/o.12] Fix new CI issues Jan 8, 2026
@AdamGS AdamGS force-pushed the adamg/make-0-12-ci-green branch from 4d0cc57 to 4abf126 Compare January 8, 2026 19:23
# Necessary because tokio 1.30.0 updates MSRV to 1.63
# and url 2.5.1, updates to 1.67
run: |
cargo update -p parking_lot --precise 0.12.4
Copy link
Contributor Author

Choose a reason for hiding this comment

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

A lot of crates just recently made the jump from 1.64 to 1.68, parking_lot and tokio moved to 1.71 and even tracing made a very significant change to 1.65.

Comment on lines +847 to 849
// TcpStream::set_linger is deprecated but this use case is valid to reset the stream
#[allow(deprecated)]
stream.set_linger(Some(Duration::from_secs(0))).unwrap();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

My understanding is that this is more about it being a potential performance issue than anything else, with the thread being potentially blocked on drop.
This specific options will also be now available in new tokio versions as TcpStream::et_linger_zero.

Copy link
Contributor

Choose a reason for hiding this comment

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

Indeed -- @crepererum fixed the same issue in basically the same way on main in

@alamb alamb changed the title [release/o.12] Fix new CI issues [release/0.12] Fix new CI issues Jan 8, 2026
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @AdamGS

@alamb alamb merged commit a410fab into apache:release/0.12 Jan 8, 2026
8 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.

2 participants