Skip to content

chore: log write stream opening at debug level - #363

Merged
merlimat merged 1 commit into
oxia-db:mainfrom
merlimat:write-stream-open-debug-level
Jul 13, 2026
Merged

chore: log write stream opening at debug level#363
merlimat merged 1 commit into
oxia-db:mainfrom
merlimat:write-stream-open-debug-level

Conversation

@merlimat

Copy link
Copy Markdown
Collaborator

Motivation

Opened write stream is logged on every stream (re)establishment, once per shard, so at info level it adds noise during normal operation on clients with many shards. The related recovery details ("Replaying inflight writes on opened stream") are already at debug.

Modification

Move the message to debug level, using the lambda form so the pendingWrites attribute is not built when debug logging is disabled (same pattern as the surrounding debug logs).

Signed-off-by: Matteo Merli <mmerli@apache.org>
@merlimat
merlimat merged commit 4e4ea16 into oxia-db:main Jul 13, 2026
2 checks passed
@merlimat
merlimat deleted the write-stream-open-debug-level branch July 13, 2026 14:40
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.

1 participant