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

Add golint package get in makefile and update ci. #198

Merged
merged 3 commits into from
Sep 20, 2015

Conversation

qiuyesuifeng
Copy link
Member

No description provided.

@qiuyesuifeng qiuyesuifeng changed the title makefile: add golint get in makefile. [DNM]makefile: add golint get in makefile. Sep 19, 2015
@qiuyesuifeng
Copy link
Member Author

PTAL

@qiuyesuifeng qiuyesuifeng changed the title [DNM]makefile: add golint get in makefile. Add golint package get in makefile and update ci. Sep 19, 2015
@@ -11,7 +11,7 @@ LDFLAGS += -X "github.com/pingcap/tidb/util/printer.TiDBGitHash=$(shell git rev-

TARGET = ""

.PHONY: godep deps all build install parser clean todo test tidbtest mysqltest gotest interpreter
Copy link
Member

Choose a reason for hiding this comment

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

AFAIK make server will be failed for go 1.4.2.

Copy link
Member Author

Choose a reason for hiding this comment

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

. PHONY section is only to support make section conflicting with dir or filename. It will not make server.

@shenli
Copy link
Member

shenli commented Sep 20, 2015

LGTM

1 similar comment
@siddontang
Copy link
Member

LGTM

ngaut added a commit that referenced this pull request Sep 20, 2015
Add golint package get in makefile and update ci.
@ngaut ngaut merged commit a3d9409 into master Sep 20, 2015
@ngaut ngaut deleted the qiuyesuifeng/golint-makefile branch September 20, 2015 05:38
YuJuncen pushed a commit to YuJuncen/tidb that referenced this pull request Apr 23, 2021
* test: speed up TestGetJSON

Force a shorter timeout on the HTTP client, so that accessing
`http://not-exists` won't take 30 seconds.

* config,lightning: implement "server mode"

In "Server Mode" Lightning will wait for tasks submitted via the HTTP API
`POST /tasks`, and will keep running until Ctrl+C. Multiple tasks are
executed sequentially.

The config is split into "Global config" and "Task config", which shares
the same structure for compatibility and simplicity.

The pprof-port setting has been deprecated in favor of status-addr, for
compatibility with other tools.

* lightning,config: cover some of the new code

* lightning: added `GET /tasks` API to get number of queued tasks

* *: addressed comments

* config,lightning: use a linked hash map to store queued configs

Changed /task to return JSON.

This is to prepare for an API removing a queued task, and also to remove
the artificial task queue size limit.

* config: change TaskID to record the current timestamp
YuJuncen pushed a commit to YuJuncen/tidb that referenced this pull request Apr 23, 2021
* restore: adjust PD config to speed up restore

Signed-off-by: Neil Shen <[email protected]>

* address comments

Signed-off-by: Neil Shen <[email protected]>

* tests: disable TLS test

Signed-off-by: Neil Shen <[email protected]>

* Update pkg/task/restore.go

Co-Authored-By: kennytm <[email protected]>

* restore run post work after restore files success

Signed-off-by: Neil Shen <[email protected]>

* restore TiKV/PD config before validating checksum

Signed-off-by: Neil Shen <[email protected]>

* defer splitPostWork

Signed-off-by: Neil Shen <[email protected]>

* Update pkg/task/restore.go

Co-authored-by: kennytm <[email protected]>

* task: remove sync

Signed-off-by: Neil Shen <[email protected]>

Co-authored-by: kennytm <[email protected]>
xhebox pushed a commit to xhebox/tidb that referenced this pull request Sep 28, 2021
xhebox pushed a commit to xhebox/tidb that referenced this pull request Sep 28, 2021
xhebox pushed a commit to xhebox/tidb that referenced this pull request Oct 8, 2021
xhebox pushed a commit to xhebox/tidb that referenced this pull request Oct 8, 2021
ti-chi-bot pushed a commit that referenced this pull request Oct 9, 2021
guo-shaoge pushed a commit to guo-shaoge/tidb that referenced this pull request Feb 14, 2023
* remove slow query

Signed-off-by: David <[email protected]>

* hide statement tables as well

Signed-off-by: David <[email protected]>

---------

Signed-off-by: David <[email protected]>
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.

4 participants