Граф коммитов

580 Коммитов

Автор SHA1 Сообщение Дата
Matt Lord 652b0da1b8
Release of v15.0.3 (#12767)
* Release notes for 15.0.3

Signed-off-by: Matt Lord <mattalord@gmail.com>

* Release commit for 15.0.3

Signed-off-by: Matt Lord <mattalord@gmail.com>

* Rename directory

Signed-off-by: Matt Lord <mattalord@gmail.com>

* Update changelog/15.0/15.0.3/release_notes.md

Signed-off-by: Florent Poinsard <35779988+frouioui@users.noreply.github.com>

---------

Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Florent Poinsard <35779988+frouioui@users.noreply.github.com>
Co-authored-by: Florent Poinsard <35779988+frouioui@users.noreply.github.com>
2023-03-30 17:37:29 +02:00
Florent Poinsard 452f558656
Back to dev mode (#11962)
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2023-01-26 08:38:23 +01:00
Florent Poinsard a914f409c8 Release commit for 15.0.2
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-12-14 17:10:26 +01:00
Rameez Sajwani 14d3106e8e
Back to dev mode (#11848)
Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>
2022-11-29 17:28:05 -05:00
Rameez Sajwani 3efbc33847
Back to dev mode (#11574)
Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Co-authored-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-10-25 22:58:14 +02:00
Rameez Sajwani 9b901a1d64
Release of v15.0.0 (#11573)
* Release notes for 15.0.0

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Release commit for 15.0.0

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>
2022-10-25 19:30:22 +02:00
Rameez Sajwani be10ffbcd3
Release of v15.0.0-rc1 (#11443)
* Release notes for 15.0.0-rc1

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

* Release commit for 15.0.0-rc1

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>

Signed-off-by: Rameez Sajwani <rameezwazirali@hotmail.com>
2022-10-05 19:15:25 +02:00
Andrew Mason c3f4a998b2
[cmd/*] Switch to pflag for all CLI flag parsing (#10619)
* Switch to `pflag` for all parsing

This transparently swaps the cli parsing library used by `internal/flag`
from the standard library `flag` package to `spf13/pflag`.

It also introduces hook points for packages throughout the vitess codebase
to register their flags for either all commands using `servenv` or a
particular subset of commands. This allows these packages to continue to
define their flag variables in a package-private way, but without
polluting the global flagset.

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* Workaround exit code difference between stdlib `flag` and `pflag`

tl;dr stdlib `flag` has [this][1] and `pflag` does not

[1]: dcf0929de6

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* adjust test data for difference in spacing between pflag/stdflag

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* update lingering legacy flag tests

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* Update vtgate/tabletgateway.go to use new interface to isolate flags, update test data

Signed-off-by: Andrew Mason <andrew@planetscale.com>

* update flags in java test code

Signed-off-by: Andrew Mason <andrew@planetscale.com>
2022-07-25 15:12:09 -04:00
Harshit Gangal 8755887a6b
Parameterize BIT types and fixes in HEX types (#10689)
* feat: add parsing for bitnums

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

* test: add invalid cases to tests

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

* feat: normalize bitnums to bit vals too

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

* feat: add normalization for bit literals

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

* feat: parameterize binary value to hex

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

* test: added e2e test in vtgate and vttablet

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

* fix: fix the type conversion from hexnum and hexval to binary

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

* test: refactor test

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

* fix: return varbinary and flaghex for hexval and hexnum in eval engine typeOf

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

* test: separate expectation for mysql and vitess result

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

* test: fix test expectation

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

* feat: added bitnum bind variable and test

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

* proto: vtadmin side update

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

* test: fixed test and added more bitnum bind var test

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

* added license header

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

Co-authored-by: Manan Gupta <manan@planetscale.com>
2022-07-20 11:48:14 +05:30
Deepthi Sigireddi 2599788276
delete unused flags and handling of deprecated protobuf fields (#10612)
* deprecation: delete unused flags and handling of deprecated protobuf fields

Signed-off-by: deepthi <deepthi@planetscale.com>

* test: fix TestHelpOutput assertion

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

* endtoend: fix tests that were using deleted flag enable-autocommit

Signed-off-by: deepthi <deepthi@planetscale.com>

* deprecation: reserve multiple fields on same line, found and reserved more deprecated fields

Signed-off-by: deepthi <deepthi@planetscale.com>

* deprecation: delete handling of deprecated fields from ExecuteBatch and StreamExecute RPCs

Signed-off-by: deepthi <deepthi@planetscale.com>

* java: remove deleted asTransaction field from executeBatch

Signed-off-by: deepthi <deepthi@planetscale.com>

Co-authored-by: Manan Gupta <manan@planetscale.com>
2022-07-06 10:05:45 -07:00
dependabot[bot] 6257ed3069
Bump gson from 2.8.5 to 2.8.9 in /java (#10353)
Bumps [gson](https://github.com/google/gson) from 2.8.5 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.9)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 12:51:04 -07:00
dependabot[bot] 577bff7b83
Build(deps): Bump mysql-connector-java in /java/example (#10551)
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.25 to 8.0.28.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases)
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/compare/8.0.25...8.0.28)

---
updated-dependencies:
- dependency-name: mysql:mysql-connector-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 20:21:10 +05:30
FlorentP 668a84662e
Post release v14.0.0-RC1 steps (#10458)
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2022-06-08 09:56:42 +02:00
Matt Lord f141567c94
Moving dev to 14.0.0-SNAPSHOT
Signed-off-by: Matt Lord <mattalord@gmail.com>
2022-02-01 12:18:53 -05:00
Harshit Gangal 6291f662cc java: fixes java release
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2022-02-01 18:26:45 +05:30
Harshit Gangal 3c3ade1ed8 java: updated all major dependencies to latest
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2022-02-01 00:12:17 +05:30
Dirkjan Bussink a0cf40b469
Bump to latest version again
Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
2022-01-04 10:27:58 +01:00
dependabot[bot] 61751fe3c9
build(deps): bump log4j-api from 2.16.0 to 2.17.0 in /java
Bumps log4j-api from 2.16.0 to 2.17.0.

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-api
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-04 10:27:58 +01:00
dependabot[bot] d4a9aa2ec4
build(deps): bump log4j-core from 2.15.0 to 2.16.0 in /java
Bumps log4j-core from 2.15.0 to 2.16.0.

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 21:39:14 +00:00
dependabot[bot] 4c2aaa7769
build(deps): bump log4j-core from 2.13.3 to 2.15.0 in /java
Bumps log4j-core from 2.13.3 to 2.15.0.

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 01:29:32 +00:00
Matt Lord e622ebd7da
Adjust Java Tests -- precision test should ignore HEX types
Signed-off-by: Matt Lord <mattalord@gmail.com>
2021-11-03 18:46:12 -04:00
Florent Poinsard 7057fe94bb
incrementing to release 13.0.0-SNAPSHOT
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2021-10-22 17:41:10 +02:00
Andrea Cosentino f8dbf43572 Fixed Java Client docs refs in Java Readme
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
2021-10-14 14:26:01 +02:00
deepthi 91e9d10721 inclusive naming: fix a few more master references that were missed earlier
Signed-off-by: deepthi <deepthi@planetscale.com>
2021-08-20 14:22:39 -07:00
Andrew Mason e2a37bc0cb Remove switch case for legacy error code in java client
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-08-19 11:23:43 -04:00
Rohit Nayak b7ced6123e
Initial changes for blacklist to denylist
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2021-08-17 11:07:03 +02:00
Rohit Nayak 3dec9dbd4a
Replace urls in repo pointing to master branch to main
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2021-08-06 20:37:02 +02:00
Rohit Nayak d2f884d217
Various mods for replacing MASTER with PRIMARY
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2021-08-06 15:32:30 +02:00
Florent Poinsard b498857de3
Incrementing to release 12
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2021-07-06 11:51:23 +02:00
Harshit Gangal a0670daac3
Merge pull request #8154 from planetscale/java-mysql-test
[Java] JDBC mysql driver test
2021-05-20 19:49:27 +05:30
Harshit Gangal 22efcdb416 ignored unused declared dependencies
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2021-05-20 15:16:46 +05:30
Harshit Gangal 06bfd2045d added mysq jdbc driver test
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2021-05-20 13:47:14 +05:30
Vicent Marti e9935049a6 protobuf: upgrade
Signed-off-by: Vicent Marti <vmg@strn.cat>
2021-05-19 11:13:59 +02:00
Alkin Tezuysal 195a09df19 java: Bump SNAPSHOT version to 11.0.0-SNAPSHOT after Vitess release v10
Signed-off-by: Alkin Tezuysal <alkin.tezuysal@gmail.com>
2021-04-27 18:21:10 +03:00
dependabot[bot] 48a5a20218
Bump commons-io from 2.6 to 2.7 in /java
Bumps commons-io from 2.6 to 2.7.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 18:16:29 +00:00
Harshit Gangal 52500c2870 java:update guava dependency to 30.1.1
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2021-03-31 16:47:34 +05:30
Andres Taylor a9a6737810 update java versions to 10.0.0
Signed-off-by: Andres Taylor <andres@planetscale.com>
2021-01-26 11:33:41 +01:00
Andres Taylor c2d91c0ded Updating Java unit tests for JDK9+ compatability
Signed-off-by: Dan Kozlowski <koz@planetscale.com>

Signed-off-by: Andres Taylor <andres@planetscale.com>
2020-12-09 10:28:28 +01:00
Harshit Gangal 9fb110b775 java: Bump SNAPSHOT version to 9.0 after Vitess release 8.0
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2020-10-20 09:53:06 +05:30
dependabot[bot] c7f9b82f98
Bump junit from 4.12 to 4.13.1 in /java
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 07:54:45 +00:00
Harshit Gangal b1ceb9d66d [java] bump java version to 8.0.0-SNAPSHOT for next release
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2020-07-27 22:30:43 +05:30
Harshit Gangal c105e193b4 removed the javax-annotation dependencies
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2020-07-18 20:29:03 +05:30
Rohit Nayak 851538a603
Vrepl Savepoint: java related changes
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-07-16 18:42:51 +02:00
dependabot[bot] 84169bf921
build(deps): bump log4j2.version from 2.13.0 to 2.13.3 in /java
Bumps `log4j2.version` from 2.13.0 to 2.13.3.

Updates `log4j-api` from 2.13.0 to 2.13.3

Updates `log4j-core` from 2.13.0 to 2.13.3

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-01 19:27:06 +00:00
Harshit Gangal 36a7434b5d Bump Netty to 4.1.48.Final and tcnative to 2.0.30.Final
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2020-06-16 09:01:06 +05:30
Toliver Jue b531b275f4 Change all external links in vitess to use https
Signed-off-by: Toliver Jue <toliver@planetscale.com>
2020-05-11 16:23:42 +09:00
Harshit Gangal 228e6fe45a
Merge pull request #6088 from HubSpot/upstream-unsync-conn
Remove synchronizing VTGateConnection on itself
2020-04-24 00:20:22 +05:30
Rich Marscher 5f65ee68ec Remove synchronizing VTGateConnection on itself
We're doing some feature work on a fork of Vitess where this
synchronized instance lock is creating extra pausing in our client
application. The only state the connection maintains is the RpcClient,
which GRPC should not have a need to be synchronized.

We've removed this blocks in our fork and run some overall query load
testing (nothing explicitly targeting this code block, just throwing a
bunch of transaction reads and inserts through the client). We didn't
encounter any noticeable issues with the change.

Reading the code, the only thing that seems stateful to me is the
VtSession maybe racing between the check to allow a call and then
setting the `lastCall` after constructing the new `SQLFuture`. However,
I don't think an instance lock on the `VTGateConnection` would prevent
anyone else from racing against the `VTSession` instance? I do not have
complete understanding, this is just my surface level observation.

Signed-off-by: Rich Marscher <rmarscher@hubspot.com>
2020-04-17 17:09:20 -04:00
Harshit Gangal cc2861b821 deprecaded old java clients
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2020-03-26 08:37:38 +05:30
Sugu Sougoumarane 050b037aff deprecation: delete v2 protos
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-03-24 21:52:55 -07:00