Skip to content

Tone down optimizer logging#7337

Merged
agourlay merged 1 commit intodevfrom
tone-done-optimizer-logging
Sep 30, 2025
Merged

Tone down optimizer logging#7337
agourlay merged 1 commit intodevfrom
tone-done-optimizer-logging

Conversation

@agourlay
Copy link
Member

This debug log is a bit too verbose when the space required is 0 bytes.

2025-09-30T13:21:37.089921Z DEBUG collection::collection_manager::optimizers::segment_optimizer: Available space: 1.03 TiB, needed for optimization: 0 B
2025-09-30T13:21:37.090006Z DEBUG collection::update_handler: Optimizer 'vacuum' running on segments: [225]
2025-09-30T13:21:37.090113Z DEBUG collection::collection_manager::optimizers::segment_optimizer: Available space: 1.03 TiB, needed for optimization: 2.42 MiB
2025-09-30T13:21:37.149219Z DEBUG collection::update_handler: Optimizer 'vacuum' running on segments: [225]
2025-09-30T13:21:37.201201Z DEBUG collection::collection_manager::optimizers::segment_optimizer: Available space: 1.03 TiB, needed for optimization: 0 B
2025-09-30T13:21:37.201268Z DEBUG collection::collection_manager::optimizers::segment_optimizer: Available space: 1.03 TiB, needed for optimization: 0 B
2025-09-30T13:21:37.206480Z DEBUG collection::update_handler: Optimizer 'merge' running on segments: [784, 783, 780]
2025-09-30T13:21:37.206853Z DEBUG collection::collection_manager::optimizers::segment_optimizer: Available space: 1.03 TiB, needed for optimization: 242.63 MiB
2025-09-30T13:21:37.213618Z DEBUG collection::update_handler: Optimizer 'merge' running on segments: [784, 783, 780]
2025-09-30T13:21:37.273329Z DEBUG collection::update_handler: Optimizer 'merge' running on segments: [784, 783, 780]
2025-09-30T13:21:37.326263Z DEBUG collection::collection_manager::optimizers::segment_optimizer: Available space: 1.03 TiB, needed for optimization: 0 B
2025-09-30T13:21:37.326338Z DEBUG collection::collection_manager::optimizers::segment_optimizer: Available space: 1.03 TiB, needed for optimization: 0 B
2025-09-30T13:21:37.524476Z DEBUG collection::update_handler: Optimizer 'merge' running on segments: [231, 229, 228, 230]
2025-09-30T13:21:37.524854Z DEBUG collection::collection_manager::optimizers::segment_optimizer: Available space: 1.03 TiB, needed for optimization: 1.51 MiB
2025-09-30T13:21:37.525736Z DEBUG collection::update_handler: Optimizer 'merge' running on segments: [231, 229, 228, 230]
2025-09-30T13:21:37.527440Z DEBUG collection::update_handler: Optimizer 'merge' running on segments: [231, 229, 228, 230]
2025-09-30T13:21:37.624289Z DEBUG segment::index::hnsw_index::hnsw: building HNSW for 20000 vectors with 8 CPUs
2025-09-30T13:21:37.625969Z DEBUG segment::index::hnsw_index::hnsw: Finish main graph in time 221ns
2025-09-30T13:21:37.625986Z DEBUG segment::index::hnsw_index::hnsw: skip building additional HNSW links
2025-09-30T13:21:37.648820Z DEBUG collection::collection_manager::optimizers::segment_optimizer: Available space: 1.03 TiB, needed for optimization: 0 B
2025-09-30T13:21:37.648868Z DEBUG collection::collection_manager::optimizers::segment_optimizer: Available space: 1.03 TiB, needed for optimization: 0 B

@agourlay agourlay merged commit ce16b27 into dev Sep 30, 2025
16 checks passed
@agourlay agourlay deleted the tone-done-optimizer-logging branch September 30, 2025 14:12
timvisee pushed a commit that referenced this pull request Nov 14, 2025
@qdrant qdrant deleted a comment from coderabbitai bot Nov 14, 2025
@timvisee timvisee mentioned this pull request Nov 14, 2025
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