Commit Graph

4433 Commits

Author SHA1 Message Date
Kamil Dziedzic
59add04961 missing test data 2017-09-06 13:45:23 +02:00
Kamil Dziedzic
185076f8ec basic support for EXPLAIN and EVAL 2017-09-06 11:22:45 +02:00
Carlos Salguero
738f9809f8 PT-167 Still need to add tests
Description here
2017-09-04 12:03:36 -03:00
Kamil Dziedzic
6fa8dc5161 fmt 2017-09-04 15:53:37 +02:00
Kamil Dziedzic
f0396cc8d6 fix after merge 2017-09-04 15:52:58 +02:00
Kamil Dziedzic
a5b5fb88fa fix .travis.yml after merge 2017-09-04 14:10:01 +02:00
Kamil Dziedzic
586c958994 Merge branch 'PMM-685_explain' into QAN_MongoDB_GA 2017-09-04 13:48:07 +02:00
Kamil Dziedzic
2dc6f443c6 Merge branch 'PMM-1057_fingerprint_more_queries' into QAN_MongoDB_GA 2017-09-04 13:46:15 +02:00
Carlos Salguero
b8067ad5b3 Merge pull request #259 from percona/travis_go
Add .travis.yml
2017-09-01 09:43:58 -03:00
Kamil Dziedzic
691c034600 s/ServerStatus/Ping/ 2017-09-01 12:00:44 +02:00
Kamil Dziedzic
74b34dc74d strip vendor dir 2017-09-01 11:58:35 +02:00
Kamil Dziedzic
f84372a573 add go 1.9 2017-09-01 11:56:29 +02:00
Kamil Dziedzic
edd1b97ea3 keep queries in order to make it more predictible 2017-09-01 11:52:00 +02:00
Kamil Dziedzic
b2818cc800 change test to be more predictable 2017-09-01 10:39:21 +02:00
Kamil Dziedzic
b5bbedab58 add travis for go part 2017-08-31 22:25:26 +02:00
Kamil Dziedzic
7d4be1b348 drop $db; fix group 2017-08-31 22:12:01 +02:00
Kamil Dziedzic
31eb04fc88 explain for distinct and findAndModify was introduced in Mongo 3.4 2017-08-31 21:09:11 +02:00
Kamil Dziedzic
9af30c010e For MongoDB < 3.0 explain is not supported 2017-08-31 21:05:00 +02:00
Kamil Dziedzic
8785890189 Let's try with older versions 2017-08-31 20:35:17 +02:00
Kamil Dziedzic
6866380a28 stop profiler before exiting test 2017-08-31 20:33:49 +02:00
Kamil Dziedzic
fcbb140088 older versions of MongoDB return different error for trying to explain insert 2017-08-31 20:25:21 +02:00
Kamil Dziedzic
54bc4aa67c Properly bind port. 2017-08-31 20:00:49 +02:00
Kamil Dziedzic
803ad9860c we need at least one document in test db 2017-08-31 19:55:41 +02:00
Kamil Dziedzic
2b9c557445 drop testify 2017-08-31 19:09:36 +02:00
Kamil Dziedzic
f3f66f928f restore docker-compose.yml 2017-08-31 19:01:45 +02:00
Kamil Dziedzic
0d7ee3c86a trigger build 2017-08-31 18:50:01 +02:00
Kamil Dziedzic
14f27e010e just to trigger build 2017-08-31 18:41:59 +02:00
Kamil Dziedzic
6f57f09400 properly convert query for error msg to string 2017-08-31 18:04:05 +02:00
Kamil Dziedzic
c8a5bfe5f3 be more verbose with errors 2017-08-31 17:56:08 +02:00
Kamil Dziedzic
05558d8406 PMM-685: let explain operate on []byte 2017-08-31 17:14:21 +02:00
Kamil Dziedzic
5393a2b001 PMM-685: explain 2017-08-31 13:52:37 +02:00
Carlos Salguero
218bd2874b Merge pull request #257 from percona/PT-196
PT-196 pt-onine-schema-change is pausing because {some_status_variabl…
2017-08-30 14:57:54 -03:00
Carlos Salguero
7e59feb8dd PT-196 pt-onine-schema-change is pausing because {some_status_variable}=0
Description here
2017-08-30 14:54:47 -03:00
Carlos Salguero
d8723716c7 Merge pull request #256 from percona/PT-152
PT-152 Added SHOW SLAVE HOST to pt-mysql-summary
2017-08-29 16:00:20 -03:00
Carlos Salguero
511c80389f PT-152 Added SHOW SLAVE HOST to pt-mysql-summary 2017-08-29 15:45:13 -03:00
Kamil Dziedzic
04f95917ae PMM-1057: let's try to bypass limitations of go/bson 2017-08-24 10:29:54 +02:00
Kamil Dziedzic
92ce29acfa proper secret 2017-08-21 20:51:01 +02:00
Kamil Dziedzic
a25d6218f4 just drop old go version 2017-08-21 20:26:50 +02:00
Kamil Dziedzic
45f5629260 Compare times in the same timezone 2017-08-21 20:23:37 +02:00
Kamil Dziedzic
3f06ea8fdf Compare times in the same timezone 2017-08-21 20:10:45 +02:00
Kamil Dziedzic
de1f123b2c disable mail notifications 2017-08-21 19:18:49 +02:00
Kamil Dziedzic
96691df8dd fix marshaling json 2017-08-21 19:10:59 +02:00
Kamil Dziedzic
6d571cd708 fix queries 2017-08-21 18:55:05 +02:00
Kamil Dziedzic
0ea1cda59c drop trash 2017-08-21 18:48:30 +02:00
Kamil Dziedzic
c503ffa871 sanity check 2017-08-21 18:21:50 +02:00
Kamil Dziedzic
6a65d5b7a0 timeout tests after 1m 2017-08-21 18:16:23 +02:00
Kamil Dziedzic
51be22073b PMM-1057: fingerprint more types of queries 2017-08-21 18:16:23 +02:00
Carlos Salguero
9e8725a4b7 Merge pull request #253 from percona/PT-193
PT-193 pt-table-checksum reports misleading error if comment has apostroph
2017-08-15 12:09:26 -03:00
Carlos Salguero
54dfcf36de PT-193 New test and updated libraries
Added a specific test for this issue and updated all binaries to the
latest TableParser version
2017-08-15 12:06:24 -03:00
Carlos Salguero
c375fd068b PT-193 Fixed regex in TableParser
TableParser's parse function was failing while trying to lowercase
column names in the provided 'SHOW CREATE TABLE'.
The problem was it was trying to lowercase everything between backticks
but lines like these:

`field_name` int comment "here is a ` in the comment"
`second_field_name` int

made the original regex to fail, matching `in the coment"` as an
expression to be lowercased while second_file_name was considered as
outside backticks.
2017-08-14 21:01:30 -03:00