*: Add stacktrace logging when exceptions are thrown in Server::main#9903
*: Add stacktrace logging when exceptions are thrown in Server::main#9903ti-chi-bot[bot] merged 9 commits intopingcap:masterfrom
Server::main#9903Conversation
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
|
/hold |
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Server::main
|
/unhold |
|
/test pull-integration-test |
[LGTM Timeline notifier]Timeline:
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CalvinNeo, Lloyd-Pottiger The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
In response to a cherrypick label: new pull request created to branch |
|
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
#9903) (#9908) close #9902 * Add progress logging in `RegionPersister::restore` so that we can get more info how many region is restoring * Add stacktrace logging when exceptions are thrown in `Server::main` * Use DB::Exception instead of Poco::Exception to get more stacktrace info Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: JaySon-Huang <tshent@qq.com> Co-authored-by: JaySon <tshent@qq.com> Co-authored-by: JaySon-Huang <tshent@qq.com>
#9903) (#9911) close #9902 * Add progress logging in `RegionPersister::restore` so that we can get more info how many region is restoring * Add stacktrace logging when exceptions are thrown in `Server::main` * Use DB::Exception instead of Poco::Exception to get more stacktrace info Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: JaySon-Huang <tshent@qq.com> Co-authored-by: JaySon <tshent@qq.com> Co-authored-by: JaySon-Huang <tshent@qq.com>
#9903) (#9910) close #9902 * Add progress logging in `RegionPersister::restore` so that we can get more info how many region is restoring * Add stacktrace logging when exceptions are thrown in `Server::main` * Use DB::Exception instead of Poco::Exception to get more stacktrace info Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: JaySon-Huang <tshent@qq.com> Co-authored-by: JaySon <tshent@qq.com> Co-authored-by: JaySon-Huang <tshent@qq.com>
pingcap#9903) (pingcap#9910) close pingcap#9902 * Add progress logging in `RegionPersister::restore` so that we can get more info how many region is restoring * Add stacktrace logging when exceptions are thrown in `Server::main` * Use DB::Exception instead of Poco::Exception to get more stacktrace info Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: JaySon-Huang <tshent@qq.com> Co-authored-by: JaySon <tshent@qq.com> Co-authored-by: JaySon-Huang <tshent@qq.com>
What problem does this PR solve?
Issue Number: close #9902
Problem Summary:
Under some cases, we meet exception with no stacktrace
What is changed and how it works?
Check List
Tests
Mock the
KVStore::restorethrow an exception inServer::main, and the logging can print the stacktrace infoSide effects
Documentation
Release note