vitess-gh/go/test/fuzzing
Harshit Gangal d3d9e71396
No reserved connection on modifying system settings (#11088)
* feat: added queryserver_enable_settings_pool flag to enable settings pool

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* test: added vttablet e2e test for simple Execute and StreamExecute flow with settings

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* feat: ReserveExecute to use new settings pool path to execute the query with settings without reserving the connection

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* feat: ReserveStreamExecute to use new pool path

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* feat: integrated settings pool with dml and ddl queries

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* test: fix flag test expectation

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* feat: support settings on tx without reserved connection

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* test: added test for beginExecute and beginStreamExecute with settings to not reserve connection

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* feat: support settings on begin execute streaming and non-streaming without reserved connection

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* test: add test for checking reusing of connections with settings

Signed-off-by: Manan Gupta <manan@planetscale.com>

* test: added reset pool conn func for testing

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* refactor: pass connReserved as bool instead of connection id

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* refactor: tabletserver api to reuse methods

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* feat: allow set query to be executed in tablet with settings

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* feat: added lock function on reserve api to not use settings pool and instead use reserve connection. refactored code around it to make this simpler

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* test: e2e test on vtgate, run vttablet with settings pool enabled and disabled

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

* feat: support temporary table by way of fallback to reserved connection when settings pool is enabled

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Co-authored-by: Manan Gupta <manan@planetscale.com>
2022-09-02 11:10:49 +05:30
..
autogenerate Run latest gofmt on everything & address linter warnings (#11008) 2022-08-16 13:53:42 -07:00
fuzzdata added fuzzer test cases for vtctl and planbuilder 2021-05-27 14:53:34 +05:30
ast_fuzzer.go Add a few more fuzzers 2021-11-18 16:48:22 +00:00
oss_fuzz_build.sh Fuzzing: Add fuzzer for api marshaling 2022-01-06 15:02:05 +01:00
parser_fuzzer.go Add a few more fuzzers 2021-11-18 16:48:22 +00:00
tablet_manager_fuzzer.go [tmclient] [tmserver] Unexplode fetchers (#10998) 2022-08-11 10:48:24 -07:00
tabletserver_rules_fuzzer.go Add a few more fuzzers 2021-11-18 16:48:22 +00:00
tabletserver_schema_fuzzer.go No reserved connection on modifying system settings (#11088) 2022-09-02 11:10:49 +05:30
vt_schema_fuzzer.go Fuzzing: Add more and modify exiting 2021-11-01 10:06:38 +00:00
vtctl_fuzzer.dict more master->primary changes in docs, tests, functions and variables. 2021-08-10 19:52:24 -07:00
vtctl_fuzzer.go [tmclient] Migrate flags to pflag (#11066) 2022-08-29 12:27:59 -04:00
vtctl_fuzzer_test.go refactor: move from io/ioutil to io and os package 2021-10-05 08:05:23 +08:00
vttablet_fuzzer.go Adds RPCs to vttablet that vtorc requires (#10464) 2022-06-20 10:53:04 +05:30