Skip to content

[fix](log) fix and clarify error msg for tablet writer write failure (#14078)#17472

Merged
morningman merged 1 commit intoapache:branch-1.2-ltsfrom
freemandealer:fix-msg-2
Mar 6, 2023
Merged

[fix](log) fix and clarify error msg for tablet writer write failure (#14078)#17472
morningman merged 1 commit intoapache:branch-1.2-ltsfrom
freemandealer:fix-msg-2

Conversation

@freemandealer
Copy link
Contributor

Proposed changes

fmt::format dosen't support non-template object as args, even if it implements
to_string() or operator<<. so orignal code may cause false to be printed
instead of real cause of the failure. So to_string() need to be manually invoked.

Issue Number: close #xxx

Problem summary

Describe your changes.

Checklist(Required)

  • Does it affect the original behavior
  • Has unit tests been added
  • Has document been added or modified
  • Does it need to update dependencies
  • Is this PR support rollback (If NO, please explain WHY)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

…pache#14078)

fmt::format dosen't support non-template object as args, even if it implements
`to_string()` or `operator<<`. so orignal code may cause false to be printed
instead of real cause of the failure. So to_string() need to be manually invoked.

Signed-off-by: freemandealer <freeman.zhang1992@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants