Skip to content

*: label external the request source via sessionvar#44770

Merged
ti-chi-bot[bot] merged 10 commits intopingcap:masterfrom
nolouch:background-label
Jul 11, 2023
Merged

*: label external the request source via sessionvar#44770
ti-chi-bot[bot] merged 10 commits intopingcap:masterfrom
nolouch:background-label

Conversation

@nolouch
Copy link
Member

@nolouch nolouch commented Jun 19, 2023

What problem does this PR solve?

Issue Number: ref #44769

Problem Summary:

currently, we cannot know requests from external tools, like using the lightning-cli with tidb backend model to import data.

What is changed and how it works?

add a sessionvar to complement the RequestSourceType.
- external tools need start a session with setting the variable, then label the source origin

Check List

Tests

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

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

@nolouch nolouch requested review from HuSharp and glorv June 19, 2023 04:20
@ti-chi-bot
Copy link

ti-chi-bot bot commented Jun 19, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@ti-chi-bot ti-chi-bot bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jun 19, 2023
@nolouch nolouch changed the title lightning: label the request source in tidb backend *: label the request source via tidb Jun 29, 2023
@nolouch nolouch force-pushed the background-label branch from 1444e2c to 6f4c0c7 Compare June 29, 2023 01:48
@ti-chi-bot ti-chi-bot bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 29, 2023
@nolouch nolouch force-pushed the background-label branch from 6f4c0c7 to 4b608d7 Compare June 29, 2023 19:47
@ti-chi-bot ti-chi-bot bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 29, 2023
@nolouch nolouch force-pushed the background-label branch from 4b608d7 to e67b75e Compare July 4, 2023 05:57
@ti-chi-bot ti-chi-bot bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 4, 2023
@ti-chi-bot ti-chi-bot bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 4, 2023
Signed-off-by: nolouch <nolouch@gmail.com>
@nolouch nolouch force-pushed the background-label branch from e67b75e to 07791ab Compare July 5, 2023 08:01
Signed-off-by: nolouch <nolouch@gmail.com>
@nolouch nolouch force-pushed the background-label branch from 2deabb3 to 0ca104a Compare July 5, 2023 09:31
@ti-chi-bot ti-chi-bot bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 5, 2023
@nolouch nolouch marked this pull request as ready for review July 5, 2023 09:37
@nolouch nolouch requested a review from a team as a code owner July 5, 2023 09:37
@ti-chi-bot ti-chi-bot bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 5, 2023
@nolouch nolouch changed the title *: label the request source via tidb *: label external the request source via sessionvar Jul 5, 2023
Signed-off-by: nolouch <nolouch@gmail.com>
@ti-chi-bot ti-chi-bot bot added the approved label Jul 7, 2023
@glorv
Copy link
Contributor

glorv commented Jul 7, 2023

/cc @bb7133 @BornChanger

@ti-chi-bot ti-chi-bot bot requested review from BornChanger and bb7133 July 7, 2023 08:56
@ti-chi-bot
Copy link

ti-chi-bot bot commented Jul 10, 2023

@glorv: Your lgtm message is repeated, so it is ignored.

Details

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Jul 10, 2023
@ti-chi-bot
Copy link

ti-chi-bot bot commented Jul 10, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-07-07 08:55:43.530405399 +0000 UTC m=+63035.300744111: ☑️ agreed by glorv.
  • 2023-07-10 09:48:00.360071065 +0000 UTC m=+325372.130409778: ☑️ agreed by crazycs520.

@ti-chi-bot ti-chi-bot bot deleted a comment from ti-chi-bot Jul 10, 2023
@ti-chi-bot ti-chi-bot bot deleted a comment from ti-chi-bot Jul 10, 2023
@ti-chi-bot
Copy link

ti-chi-bot bot commented Jul 10, 2023

@nolouch: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-br-integration-test 760984b486d842ab84494b9411b5a1f0fc384b70 link true /test pull-br-integration-test

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ti-chi-bot ti-chi-bot bot deleted a comment from ti-chi-bot Jul 10, 2023
@nolouch
Copy link
Member Author

nolouch commented Jul 10, 2023

/retest-required

@nolouch
Copy link
Member Author

nolouch commented Jul 10, 2023

ptal @bb7133

@hawkingrei
Copy link
Member

/hold

@ti-chi-bot ti-chi-bot bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 11, 2023
@hawkingrei
Copy link
Member

/unhold

@ti-chi-bot ti-chi-bot bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 11, 2023
@hawkingrei
Copy link
Member

/hold

@ti-chi-bot ti-chi-bot bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 11, 2023
@hawkingrei
Copy link
Member

/unhold

@ti-chi-bot ti-chi-bot bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 11, 2023
@ti-chi-bot
Copy link

ti-chi-bot bot commented Jul 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: crazycs520, glorv, HuSharp, qw4990

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [crazycs520,glorv,qw4990]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot merged commit 3aa21d0 into pingcap:master Jul 11, 2023
@nolouch nolouch deleted the background-label branch July 11, 2023 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants