Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Add more log and compress option #202

Merged
merged 8 commits into from
Nov 20, 2020

Conversation

lichunzhu
Copy link
Contributor

@lichunzhu lichunzhu commented Nov 20, 2020

What problem does this PR solve?

dumpling needs to provide users more progress info and metrics while and after dumping.

What is changed and how it works?

  1. Add more status log
  2. Add --compress option
  3. Add Prometheus handler

Check List

Tests

  • Unit test
  • Integration test

Side effects

  • Possible performance regression
  • Increased code complexity
  • Breaking backward compatibility

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation

Release note

  • support --compress option

@lichunzhu lichunzhu marked this pull request as ready for review November 20, 2020 07:08
@lichunzhu lichunzhu requested a review from kennytm November 20, 2020 07:09
Copy link
Collaborator

@kennytm kennytm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rest LGTM

v4/export/config.go Outdated Show resolved Hide resolved
@lichunzhu lichunzhu merged commit 4f69a92 into pingcap:master Nov 20, 2020
@lichunzhu lichunzhu deleted the addMoreLogAndCompressOption branch November 20, 2020 09:46
@lichunzhu lichunzhu linked an issue Dec 14, 2020 that may be closed by this pull request
tisonkun pushed a commit to tisonkun/dumpling that referenced this pull request Oct 20, 2021
* add percentage log
* add summary
* redirect log to dumpling's logger
* add --compress option and relative integration test
* add prometheus metrics in dumpling
tisonkun pushed a commit to tisonkun/dumpling that referenced this pull request Oct 20, 2021
* add percentage log
* add summary
* redirect log to dumpling's logger
* add --compress option and relative integration test
* add prometheus metrics in dumpling
tisonkun pushed a commit to tisonkun/dumpling that referenced this pull request Oct 20, 2021
* add percentage log
* add summary
* redirect log to dumpling's logger
* add --compress option and relative integration test
* add prometheus metrics in dumpling
tisonkun pushed a commit to tisonkun/dumpling that referenced this pull request Oct 20, 2021
* add percentage log
* add summary
* redirect log to dumpling's logger
* add --compress option and relative integration test
* add prometheus metrics in dumpling
tisonkun pushed a commit to tisonkun/tidb that referenced this pull request Oct 20, 2021
* add percentage log
* add summary
* redirect log to dumpling's logger
* add --compress option and relative integration test
* add prometheus metrics in dumpling
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support output compression
2 participants