-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Conversation
PTAL |
@@ -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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
LGTM |
1 similar comment
LGTM |
Add golint package get in makefile and update ci.
* 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
* 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]>
* 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]>
No description provided.