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

16487 Коммитов

Автор SHA1 Сообщение Дата
Paul Hemberger f24ab633c4 adds vstream to java grpc client
Signed-off-by: Paul Hemberger <phemberger@hubspot.com>

restore formatting
2019-07-12 13:52:29 -04:00
Deepthi Sigireddi 44f156dd19
Merge pull request #4959 from planetscale/ds-use-zdiv-zk
use z-division fork of go-zookeper
2019-07-08 11:44:58 -07:00
Sugu Sougoumarane be555a6811
Merge pull request #4966 from planetscale/ss-topn
vtgate sql: make memorySort more composable
2019-07-07 21:24:38 -07:00
Sugu Sougoumarane 3fea94e2c9
Merge pull request #4907 from xichengliudui/annotateUnusedPackages
Add comments in import()
2019-07-02 22:03:12 -07:00
Sugu Sougoumarane 3543a7f6f4
Merge pull request #4949 from planetscale/sa-support-wildcard
Support deleting multiple tables and wildcards
2019-07-02 22:00:27 -07:00
Sugu Sougoumarane 8ab2a85a56
Merge pull request #4969 from planetscale/remove-shard-cell
Fix RemoveShardCell
2019-07-02 21:50:32 -07:00
Sugu Sougoumarane feea1490eb
Merge pull request #4970 from davygeek/master
add etcd repository support
2019-07-02 21:49:39 -07:00
Sugu Sougoumarane 48576ab12e
Merge pull request #4977 from planetscale/feature/add-mariadb103-as-flavor-to-vttablet-up-script
Added MariaDB103 as a flavor to the vttablet-up script
2019-07-02 21:47:18 -07:00
Rafael Chacon 4fdb947995
Merge pull request #4927 from planetscale/ss-suppress-heartbeat
vstream: remove heartbeat events
2019-07-02 19:42:20 -07:00
Peter Farr f3be651ed5 Added MariaDB103 as a flavor to the vttablet-up script so users of modern MariaDB can run through the local tutorial
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
2019-07-02 17:05:47 -07:00
Daniel Kozlowski c341ec1d5c
Merge pull request #4960 from planetscale/ds-rebalance-tests
rebalance tests so that travis build finishes sooner
2019-07-02 01:57:20 +02:00
davygeek 5c85f503b9 add etcd repository support
Signed-off-by: davygeek <davygeek@163.com>
2019-07-01 12:02:36 +08:00
Anthony Yeh 61b9ba3617 Fix RemoveShardCell to only remove the shard from serving in the specified cell.
It was removing the shard from the serving set in all cells instead of
just one.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-06-29 21:22:18 -07:00
Anthony Yeh bffe40a286 Fix RemoveShardCell for non-range-based shards.
KeyRange is `nil` for all non-range-based shards, so this was removing
all non-range-based shards from serving, instead of just the one shard.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-06-29 21:18:13 -07:00
Daniel Kozlowski 22c64df20f
Merge pull request #4858 from planetscale/dk-backup-only
Add a vtbackup batch command to take a backup and exit
2019-06-29 06:22:43 +02:00
Dan Kozlowski 92647598cf Implementing feedback from PR
Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2019-06-28 20:43:05 -07:00
Dan Kozlowski 32866800ac Updating backup logic
Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2019-06-28 17:30:55 -07:00
Anthony Yeh 0b58b99c49 Allow backup to proceed even if nothing changed on master.
Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-06-28 10:28:03 -07:00
Saif Alharthi dc21f55743 Added licence header
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
2019-06-28 10:24:48 -07:00
Anthony Yeh 33b3035e54 Still take a new backup even if nothing changed.
We need to create a backup with the new timestamp so we know that our
backups are fresh.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-06-27 23:53:17 -07:00
Dan Kozlowski 20ea00d773 Modifying the Backup error reporting logic again.
This block of code doesn't make any sense the way
its written and I feel something has been lost in translation.
I have modified it so at least I can explain it.

If you have no backups you will return ErrNoBackup.
If you fail to reset replication you will log that message
If you fail to Populate the Metadata tables we will return that error

Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2019-06-27 19:25:43 -07:00
Dan Kozlowski 44e1dfffed Merge branch 'master' of github.com:planetscale/vitess into dk-backup-only
Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2019-06-27 19:22:51 -07:00
Dan Kozlowski 4e1e9bcf20 Removing teardown option from backup file
Teardown option is no longer used

Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2019-06-27 19:11:27 -07:00
xichengliudui 5f0c502de6 This is a combination of 2 commits.
Add comments in import()
Signed-off-by: xichengliudui <liuduidui@beyondcent.com>

fix pr
2019-06-27 21:29:33 -04:00
Sugu Sougoumarane a7f5814c63 vtgate sql: integration test
and found a bug

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-06-27 14:23:39 -07:00
Sugu Sougoumarane b54cc62707 vtgate sql: more composable primitives
Remove some tight coupling that existed between various primitives.
In particular, orderedAggregate now points at builder instead of
a route. Also, mergeSort takes on some of the work that route
previously used to do.

Boilerplate code has been moved to builderCommon and resultsBuilder.

Introduced SupplyWeightString as a required function for all primitives.
This is now used by all primitives that need to order by a text column.

The end result: memorySort can now sort by text columns, and it can
be on top of any primitive, like a join, subquery, etc.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-06-27 14:23:39 -07:00
Sugu Sougoumarane d034fc4e01 vtgate sql: standardize builderCommon
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-06-27 14:23:39 -07:00
Sugu Sougoumarane 5ce693597d vtgate sql: get rid of most panics
Eventhough many of those places are unreachable, it's better
to return an error instead.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-06-27 14:23:39 -07:00
Sugu Sougoumarane 86ac31907e vtgate sql: colnum -> colNumber
colnum and column looked too similar and confusing.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-06-27 14:23:39 -07:00
Sugu Sougoumarane e1acadea40 vtgate sql: memory sort for more primitives
memory sort is now added for join, subquery and vindexFunc.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-06-27 14:23:39 -07:00
Sugu Sougoumarane 611b4d436b vtgate sql: consolidate common code
Some boiler-plate behaviors were accumulating in each builder.
They've now been consolidated under builderCommon.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-06-27 14:23:39 -07:00
Saif Alharthi 3aa9e5213e Add simple wildcard support for deleting from multiple tables in
unsharded keyspaces

Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
2019-06-27 10:59:57 -07:00
deepthi e9aa989eb1 allow retries of unit test so that transient errors don't fail the entire build
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-06-27 10:44:39 -07:00
Deepthi Sigireddi 8e2f781e1e
Merge pull request #4933 from planetscale/ss-memory-sort
vtgate sql: in-memory sorting
2019-06-27 09:48:14 -07:00
Sugu Sougoumarane a05f8dc10d vtgate sql: address review comments
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-06-26 23:15:19 -07:00
Sugu Sougoumarane f62cc59a18
Merge pull request #4964 from zwcn/fix-encoding-error-when-generating-java-protobuf
use English quotes in the comment of vtgate.proto
2019-06-26 23:04:44 -07:00
Sugu Sougoumarane e6dd0920a1
Merge pull request #4965 from planetscale/ss-alt-vindex-sort
vindexes: alt approach for lookup sorted inserts
2019-06-26 23:01:10 -07:00
Sugu Sougoumarane 3daf82c694 vindexes: alt approach for lookup sorted inserts
Looks like too many callers are affected if the passed in values
are sorted by the `Create` function. Instead of changing all
the call sites, it's better that `Create` sorts a copy of the
values and leave the external behavior unchanged.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-06-26 21:24:14 -07:00
zwcn 440aa522bc use english quotes instead
Signed-off-by: zwcn <zilongwang61@gmail.com>
2019-06-26 19:13:16 -04:00
deepthi 031720d3f3 manual rebalance after looking at results of auto-rebalance
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-06-26 16:02:19 -07:00
deepthi eb4bb5d797 rebalance tests so that travis build finishes sooner
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-06-26 12:37:06 -07:00
deepthi 6c5b363751 use z-division fork of go-zookeper
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-06-26 11:51:29 -07:00
Deepthi Sigireddi 84a36ab84c
Merge pull request #4946 from planetscale/ss-vrepl
vreplication: code improvement
2019-06-26 09:26:16 -07:00
Deepthi Sigireddi dcd88d09e5
Merge pull request #4958 from systay/glogglogglog
Use Vitess log instead of glog
2019-06-26 09:25:23 -07:00
Derek Perkins f44b5f12dc
Merge pull request #4952 from enudler/master
Update helm/readme (myuser_password -> myuser-password)
2019-06-26 07:17:32 -06:00
Andres Taylor 367911de22 Use Vitess log instead of glog
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2019-06-26 14:02:11 +02:00
Eli Nudler 6a3f4dac38 Rename secret name (myuser_password -> myuser-password) to matched regex pattern accepted by kubernetes and match the template example
Signed-off-by: Eli Nudler <enudler@gmail.com>
2019-06-25 23:56:53 +03:00
Sugu Sougoumarane 35641ed3dc
Merge pull request #4950 from IsaacAnastasoff/1smallchange
Increased memorytopo generation pool size to 1 << 60
2019-06-24 17:44:09 -07:00
Sugu Sougoumarane 7aeff8c5a5 vtgate sql: address review comments
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-06-24 17:38:48 -07:00
Sugu Sougoumarane 239c589bee vreplication: address review comments
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-06-24 16:57:08 -07:00