Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make log more friendly for TiDB Cloud es log service #1

Conversation

JaySon-Huang
Copy link

@JaySon-Huang JaySon-Huang commented Jun 13, 2022

Signed-off-by: JaySon-Huang [email protected]

What problem does this PR solve?

Issue Number: close pingcap#5134

Problem Summary:
Now we use __global__.log_dump_4 as logging identifier, which is not friendly for TiDB Cloud log service. We can not get the logs by filtering __global__.log.
https://github.com/pingcap/tiflash/blob/10bcb06bcd379601014c70b6dd9173bb960b3c32/dbms/src/Storages/Page/V3/PageDirectory.cpp#L1226-L1234

Change the identifier format to be __global__.log.dump_4 is more friendly for log searching

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

None

@jiaqizho jiaqizho merged commit c17cbdc into jiaqizho:fix-blobstore-truncate-problem Jun 13, 2022
@JaySon-Huang JaySon-Huang deleted the fix-blobstore-truncate-problem branch June 13, 2022 09:39
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