polyzos opened a new issue, #71372:
URL: https://github.com/apache/doris/issues/71372
### Version
4.1.5 (cloud mode). Unchanged on master.
### Problem
At the default log level, the meta-service logs every routine RPC on the
write path at
INFO, usually twice (on begin and on finish, with the full request or
response). It
also logs each GetInstance response as a multi-line dump of every cluster
and node.
Under a steady streaming load this adds up to about 90 lines per second for
one
meta-service, and the few lines that matter get lost.
### Observed
One meta-service, 5 minutes, continuous small loads into merge-on-write
tables:
| Source | Share of 27,777 lines |
|---|---|
| Multi-line GetInstance dumps (49 calls) | 25% |
| begin / finish lines for each RPC | 22% |
| get_rowset, 2 lines per call | 11% |
| Delete-bitmap reads and updates, per tablet | 11% |
### Expected
At INFO the meta-service should log errors, slow RPCs and state changes.
Successful
routine RPCs belong at debug level.
### Suggested Fix
- Log begin / finish of write-path RPCs (rowset prepare and commit,
delete-bitmap
operations) at debug level, and keep INFO for failures, as GetRowset
already does.
- Lower the get_rowset and per-tablet delete-bitmap lines to match.
- Log GetInstance responses as one line, or a short summary, at INFO.
- Optionally, log RPCs slower than a configurable threshold, so nothing
useful is lost.
Setting `log_level=warn` works around it, but it also hides useful INFO
lines such as
cluster changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]