Skip to content

Improve timeout logic for Telemetry#7607

Merged
agourlay merged 4 commits intodevfrom
improve-timeout-for-telemetry
Nov 27, 2025
Merged

Improve timeout logic for Telemetry#7607
agourlay merged 4 commits intodevfrom
improve-timeout-for-telemetry

Conversation

@agourlay
Copy link
Member

@agourlay agourlay commented Nov 25, 2025

Follow up on #7579

@agourlay agourlay force-pushed the improve-timeout-for-telemetry branch 2 times, most recently from 5dfa336 to 0fd92d0 Compare November 25, 2025 16:02
@agourlay agourlay added this to the Better read timeouts milestone Nov 25, 2025
@agourlay agourlay force-pushed the improve-timeout-for-telemetry branch from 0fd92d0 to 9c64592 Compare November 25, 2025 16:37
@agourlay agourlay marked this pull request as ready for review November 26, 2025 09:38
coderabbitai[bot]

This comment was marked as resolved.

@agourlay agourlay marked this pull request as draft November 26, 2025 10:44
@agourlay agourlay force-pushed the improve-timeout-for-telemetry branch from 107e720 to e063af1 Compare November 26, 2025 11:10
@agourlay agourlay marked this pull request as ready for review November 26, 2025 11:40
@timvisee timvisee self-requested a review November 26, 2025 12:58
@qdrant qdrant deleted a comment from coderabbitai bot Nov 27, 2025
Comment on lines +57 to +62
// test that it timeouts if the segment_holder lock can't be acquired
let write_segment_holder_guard = shard.segments().write();
let telemetry = shard
.get_telemetry_data(details, Duration::from_millis(10))
.await;
assert!(matches!(telemetry, Err(CollectionError::Timeout { .. })));
Copy link
Member

Choose a reason for hiding this comment

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

Nice 👌

@qdrant qdrant deleted a comment from coderabbitai bot Nov 27, 2025
@agourlay agourlay merged commit bf564a4 into dev Nov 27, 2025
15 checks passed
@agourlay agourlay deleted the improve-timeout-for-telemetry branch November 27, 2025 15:44
timvisee pushed a commit that referenced this pull request Dec 3, 2025
* Improve timeout logic for Telemetry

* assert!

* fix misuses of StoppinGuard

* decrease timeout for each shard
@timvisee timvisee mentioned this pull request Dec 3, 2025
1 task
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