Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

upstream update #1

Merged
merged 143 commits into from
Mar 17, 2017
Merged

upstream update #1

merged 143 commits into from
Mar 17, 2017

Commits on Feb 14, 2017

  1. workflow: Defined structure to track status per tasks in workflowstat…

    …e.proto.
    
    Implement ParallelRunner and Checkpointer. Create a simple test for
    ParallelRunner.
    wangyipei01 committed Feb 14, 2017
    Configuration menu
    Copy the full SHA
    5210ead View commit details
    Browse the repository at this point in the history
  2. workflow: Using ParallelRunner to implement horizontal resharding

    workflow. Complete the unit test and E2E test for happy path.
    wangyipei01 committed Feb 14, 2017
    Configuration menu
    Copy the full SHA
    0e1023a View commit details
    Browse the repository at this point in the history
  3. workflow: Implemented retry action in ParallelRunner. Created

    unit test to verify this function. Implemented Horizontal Resharding
    workflow and tested in unit test and e2e test for the happy path.
    wangyipei01 committed Feb 14, 2017
    Configuration menu
    Copy the full SHA
    414b051 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0361c8a View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2017

  1. Configuration menu
    Copy the full SHA
    ff7f20c View commit details
    Browse the repository at this point in the history
  2. Creating and using vttlstest.

    It's just exposing the library methods into a binary, and using it in
    python tests.
    alainjobart committed Feb 15, 2017
    Configuration menu
    Copy the full SHA
    f0053e6 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2017

  1. Adding SSL support in mysql server.

    And a unit test that validates it.
    alainjobart committed Feb 16, 2017
    Configuration menu
    Copy the full SHA
    385633c View commit details
    Browse the repository at this point in the history
  2. Adding TLS support in mysql client library.

    With tests. Also, the server side needs to not use a buffer read for the
    first handshake packet, so it doesn't buffer TLS negociation packets as
    well.
    alainjobart committed Feb 16, 2017
    Configuration menu
    Copy the full SHA
    93162ba View commit details
    Browse the repository at this point in the history
  3. workflow: resolve comments. save for pull request

    for change on node.go in workflow folder.
    wangyipei01 committed Feb 16, 2017
    Configuration menu
    Copy the full SHA
    3a9aefe View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2017

  1. rebuild vschema too

    bbeaudreault committed Feb 17, 2017
    Configuration menu
    Copy the full SHA
    2fb92cf View commit details
    Browse the repository at this point in the history
  2. typo

    bbeaudreault committed Feb 17, 2017
    Configuration menu
    Copy the full SHA
    15f8c81 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2017

  1. vtgate/buffer: Fix bug that keyspaces were not logged at startup.

    This happened only when shards were included as well.
    michael-berlin committed Feb 22, 2017
    Configuration menu
    Copy the full SHA
    7c80ce5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request vitessio#2573 from HubSpot/rebuild_vschema

    Upon initial rebuild for a new keyspace, also call RebuildVSchema
    alainjobart authored Feb 22, 2017
    Configuration menu
    Copy the full SHA
    17c7f02 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2017

  1. vterrors: introduce vtrpcpb.Code

    Created the Code enum to match grpc error codes, and renamed
    all previous error codes to not have a name clash. Also renamed
    The older field to LegacyCode.
    sougou committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    d3bb900 View commit details
    Browse the repository at this point in the history
  2. vterrors: use new vtrpcpb.Code everywhere

    vtrpcpb.ErrorCode is used only at the grpc boundary for
    legacy purposes.
    sougou committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    9855595 View commit details
    Browse the repository at this point in the history
  3. vterrors: misc

    * Renamed old error names to legacy.
    * Changed all clients to handle legacy and new codes.
    * Added tests for the conversions.
    sougou committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    f91a867 View commit details
    Browse the repository at this point in the history
  4. vterrors: changed tests to use new codes

    Tests were using fatal/retry style error handling.
    Those are now updated to use vtrpcpb.Code.
    
    Also fixed error code priorities in the error aggregation function.
    
    BUG=32851872
    sougou committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    f922cac View commit details
    Browse the repository at this point in the history
  5. vterrors: consolidate vtgate errors

    All VTGate error types have been consolidated to use
    vterrors.
    Also, /debug/vars error reporting has been consolidated.
    Theres is now only one error var, but it has a fourth
    category which is the Code. We can consider dropping
    one of the other categories as the number of combinations
    may be too high.
    sougou committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    51f3fdb View commit details
    Browse the repository at this point in the history
  6. vterrors: improve retry in gateways

    The wrapper functionality now takes over the retry decision
    because it's better suited to make it. For example, a streaming
    query should not be retried if it's already sent results.
    sougou committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    ae7b2be View commit details
    Browse the repository at this point in the history
  7. vterrors: abolish TabletError

    sougou committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    c002282 View commit details
    Browse the repository at this point in the history
  8. vterrors: simplify API

    Also delete TabletError
    sougou committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    ceaddb1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6410c44 View commit details
    Browse the repository at this point in the history
  10. Merge pull request vitessio#2578 from michael-berlin/buffer_log_fix

    vtgate/buffer: Fix bug that keyspaces were not logged at startup.
    michael-berlin authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    11a9804 View commit details
    Browse the repository at this point in the history
  11. workflow: clean the design for parallelrunner and

    horizontal resharding workflow. First round comments resolved.
    (addressing race condition warnings)
    wangyipei01 committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    b1b0a9a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a4f4256 View commit details
    Browse the repository at this point in the history
  13. Merge pull request vitessio#2495 from wangyipei01/workflow-control

    workflow: resharding workflow: Implement checkpointing.
    michael-berlin authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    342cdf5 View commit details
    Browse the repository at this point in the history
  14. proto: Regenerate protobuf files.

    This is a follow-up fix for vitessio#2495.
    
    We were not able to fix Yipei's workstation such that it would use the
    same protobuf generator as Travis and our setups does. Therefore, I'm
    re-generating the files separately on my machine.
    michael-berlin committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    aa8634e View commit details
    Browse the repository at this point in the history
  15. Merge pull request vitessio#2584 from michael-berlin/fix_up_proto

    proto: Regenerate protobuf files.
    michael-berlin authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    5e6eb88 View commit details
    Browse the repository at this point in the history
  16. vendor: Pin the Protobuf Go generator to the latest version.

    I've also regenerated all protobuf files.
    
    Note that the new version has added getters for primitive types. Do NOT
    use these getters and instead always use the field names instead.
    michael-berlin committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    a8e2935 View commit details
    Browse the repository at this point in the history
  17. Merge pull request vitessio#2583 from dcadevil/master

    Cipher must be a legal UTF8 string.
    alainjobart authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    e3dbc31 View commit details
    Browse the repository at this point in the history
  18. Merge pull request vitessio#2585 from michael-berlin/bump_protoc_go_gen

    vendor: Pin the Protobuf Go generator to the latest version.
    michael-berlin authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    dd4fe43 View commit details
    Browse the repository at this point in the history
  19. Add a TLS mysqlconn -> real MySQL test.

    In the process, allow a vttest user to specify extra my.cnf.
    alainjobart committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    60e76d8 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    be9568f View commit details
    Browse the repository at this point in the history
  21. fix test

    bbeaudreault committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    61f482f View commit details
    Browse the repository at this point in the history
  22. Merge pull request vitessio#2587 from HubSpot/ignore_rbr_errors

    just skip any unparseable rbr events
    alainjobart authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    d315c82 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    0bdc2d2 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    2dfccb4 View commit details
    Browse the repository at this point in the history
  25. Merge pull request vitessio#2568 from erzel/passing_topo_server_to_tx…

    …_throttler
    
    Moved creation of topo.Server outside of tx_throttler.
    erzel authored Feb 23, 2017
    Configuration menu
    Copy the full SHA
    b11e9f9 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2017

  1. Configuration menu
    Copy the full SHA
    4202a2d View commit details
    Browse the repository at this point in the history
  2. Update node.go

    wangyipei01 authored Feb 24, 2017
    Configuration menu
    Copy the full SHA
    e3eae98 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bac6783 View commit details
    Browse the repository at this point in the history
  4. Merge pull request vitessio#2589 from wangyipei01/modify-retry

    workflow: Remove RetryController object and simplify ParallelRunner
    wangyipei01 authored Feb 24, 2017
    Configuration menu
    Copy the full SHA
    05becc5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request vitessio#2590 from michael-berlin/txthrottler_alwa…

    …ys_nil
    
    tabletserver/txthrottler: Fix bug that config update error was not ch…
    michael-berlin authored Feb 24, 2017
    Configuration menu
    Copy the full SHA
    bc76b45 View commit details
    Browse the repository at this point in the history
  6. Merge pull request vitessio#2567 from alainjobart/ssl

    SSL: mysqlconn TLS support, better tests.
    alainjobart authored Feb 24, 2017
    Configuration menu
    Copy the full SHA
    e727955 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    69aaae9 View commit details
    Browse the repository at this point in the history
  8. Adding interface for custom auth plugin.

    And a config-file based implementation.
    Using it in all tests.
    alainjobart committed Feb 24, 2017
    Configuration menu
    Copy the full SHA
    1ff6d01 View commit details
    Browse the repository at this point in the history
  9. Merge pull request vitessio#2591 from wangyipei01/manager-init

    workflow: Modify Factory.Init to pass Manager object.
    wangyipei01 authored Feb 24, 2017
    Configuration menu
    Copy the full SHA
    99076a0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ae37ea0 View commit details
    Browse the repository at this point in the history
  11. Fixing etcd watch versions.

    Old files could not be watched if the server had compacted its data.
    alainjobart committed Feb 24, 2017
    Configuration menu
    Copy the full SHA
    0f843d4 View commit details
    Browse the repository at this point in the history
  12. etcd2topo watch fix.

    Use the Get version as a start, not the object version.
    alainjobart committed Feb 24, 2017
    Configuration menu
    Copy the full SHA
    81ee830 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1d672c3 View commit details
    Browse the repository at this point in the history
  14. Merge pull request vitessio#2592 from alainjobart/etcd

    Etcd{,2} fix for watches.
    alainjobart authored Feb 24, 2017
    Configuration menu
    Copy the full SHA
    a8faf92 View commit details
    Browse the repository at this point in the history
  15. vterrors: addres review comments (vitessio#2593)

    Addressed review comments. I've changed the error codes for
    cases we've agreed on. I've left the more contentious ones
    unchanged for now.
    
    BUG=32851872
    sougou authored Feb 24, 2017
    Configuration menu
    Copy the full SHA
    4236de7 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2017

  1. Adding clear text auth support.

    And connecting it to AuthServer.
    Unit tests cover almost all cases (but not all pre-MySQL 4.1 cases).
    alainjobart committed Feb 25, 2017
    Configuration menu
    Copy the full SHA
    d1b357c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b5e470 View commit details
    Browse the repository at this point in the history
  3. Merge pull request vitessio#2597 from dumbunny/futures

    Pass MoreExecutors.directExecutor to Futures.transformAsync.
    dumbunny authored Feb 25, 2017
    Configuration menu
    Copy the full SHA
    dfea354 View commit details
    Browse the repository at this point in the history
  4. Handling missing clear text auth plugin.

    Seems to happen on Travis.
    alainjobart committed Feb 25, 2017
    Configuration menu
    Copy the full SHA
    96660b8 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2017

  1. vtgate/buffer: Fix leakage of buffer pool slots due to canceled reque…

    …sts.
    
    Canceled requests, e.g. those with a deadline shorter than the failover duration, would not return their buffer pool slot. Eventually, all slots would have leaked and the buffer would start and stop buffering as usual but reject all requests immediately because it assumed there are other pending failovers which are holding the needed slots.
    
    Previously, the code path for canceled requests differed from the common method unblockAndWait() which would unblock a request and also release its buffer pool slot after the request finished its retry. This made this oversight possible. I've changed this now: canceled requests also use unblockAndWait() now.
    
    The code was also out of sync with the documentation for WaitForFailoverEnd(): The RetryDoneFunc() must not be returned when the function returns an error as well. However, for canceled requests both were returned.
    michael-berlin committed Feb 26, 2017
    Configuration menu
    Copy the full SHA
    ab84dc8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request vitessio#2599 from michael-berlin/fix_buffer_leak

    vtgate/buffer: Fix leakage of buffer pool slots due to canceled requests.
    michael-berlin authored Feb 26, 2017
    Configuration menu
    Copy the full SHA
    5705d03 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2017

  1. vterrors: handle special cases (vitessio#2600)

    * Disallow creation of error with OK as status code.
      Auto-convert to INTERNAL and log error.
    * Handle context errors as special-case.
      Return more appropriate error code instead of UNKNOWN.
    * Also log UNAVAILABLE errors in vtgate because they're
      often due to unreachable vttablets.
    sougou authored Feb 27, 2017
    Configuration menu
    Copy the full SHA
    2fd74dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d222e7a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ee53b4 View commit details
    Browse the repository at this point in the history
  4. Linking mysql connector user to callerid.

    Also adding an end-to-end test to validate the connector and the caller
    id.
    alainjobart committed Feb 27, 2017
    Configuration menu
    Copy the full SHA
    16bc66f View commit details
    Browse the repository at this point in the history
  5. review comments -- fix potential DivByZero, remove unnecessary throws…

    …, add comments and clean up some helper methods
    bbeaudreault committed Feb 27, 2017
    Configuration menu
    Copy the full SHA
    1a6c068 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    857089d View commit details
    Browse the repository at this point in the history
  7. Merge pull request vitessio#2581 from erzel/adding_replication_lag_ba…

    …sed_throttler_doc
    
    Added documentation for the replication-lag-based-throttler
    erzel authored Feb 27, 2017
    Configuration menu
    Copy the full SHA
    b7597a9 View commit details
    Browse the repository at this point in the history
  8. messager: Fix a deadlock bug (vitessio#2594)

    The root cause of the deadlock is that message manager calls
    into tabletserver, which calls back into it.
    This can cause deadlocks and Close can hang forever.
    
    BUG=35763775
    sougou authored Feb 27, 2017
    Configuration menu
    Copy the full SHA
    2cdce28 View commit details
    Browse the repository at this point in the history
  9. Merge pull request vitessio#2595 from alainjobart/auth

    Auth work for MySQL Server code.
    alainjobart authored Feb 27, 2017
    Configuration menu
    Copy the full SHA
    04326af View commit details
    Browse the repository at this point in the history
  10. workflow: Modify the workflow library API and

    modify the unit tests of resharding workflow.
    wangyipei01 committed Feb 27, 2017
    Configuration menu
    Copy the full SHA
    a776530 View commit details
    Browse the repository at this point in the history
  11. Do not return OK error code for buffer errors.

    NOTE: This is an automated export. Changes were already LGTM'd internally.
    michael-berlin committed Feb 27, 2017
    Configuration menu
    Copy the full SHA
    5bd6a7f View commit details
    Browse the repository at this point in the history
  12. Merge pull request vitessio#2601 from michael-berlin/export_buffer_ni…

    …l_err
    
    Do not return OK error code for buffer errors.
    michael-berlin authored Feb 27, 2017
    Configuration menu
    Copy the full SHA
    3b4f863 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2017

  1. Configuration menu
    Copy the full SHA
    626eea1 View commit details
    Browse the repository at this point in the history
  2. Add flags to kubernetes guestbook app. (vitessio#2605)

    Add flags to kubernetes guestbook app.
    thompsonja authored Feb 28, 2017
    Configuration menu
    Copy the full SHA
    678ea9f View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2017

  1. Merge pull request vitessio#2596 from wangyipei01/resharding-utest-ma…

    …nager
    
    workflow: Modify the unit test for resharding workflow. Control the workflow through manager.
    wangyipei01 authored Mar 1, 2017
    Configuration menu
    Copy the full SHA
    7306290 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29e5356 View commit details
    Browse the repository at this point in the history
  3. vtgate/buffer: Always initialize all stat variables.

    If we don't do this, monitoring frameworks may not correctly calculate rates for the first failover of the shard because they see a transition from "no value for this label set (NaN)" to "a value".
    michael-berlin committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    9245b2b View commit details
    Browse the repository at this point in the history
  4. Sandbox reliability updates and cleanup. (vitessio#2604)

    * Sandbox reliability updates and cleanup.
    
    * Address comments.
    
    * Address more comments.
    thompsonja authored Mar 1, 2017
    Configuration menu
    Copy the full SHA
    ffe34d0 View commit details
    Browse the repository at this point in the history
  5. Merge pull request vitessio#2608 from michael-berlin/buffer_init_vars

    vtgate/buffer: Always initialize all stat variables.
    michael-berlin authored Mar 1, 2017
    Configuration menu
    Copy the full SHA
    55b9bc7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fe7261d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9d63dc4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c97d97e View commit details
    Browse the repository at this point in the history
  9. Updating the example with New Vschema format (vitessio#2610)

    * Updating the example with New Vschema format
    
    * Making VSchema changes in sharding-kubernetes.html
    ashudeep-sharma authored and sougou committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    0585ada View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2017

  1. Configuration menu
    Copy the full SHA
    7c5b91a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7251e3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b0edaac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0fdb0cb View commit details
    Browse the repository at this point in the history
  5. Merge pull request vitessio#2616 from c-wind/master

    Makefile: fix docker build mysql56 bug
    michael-berlin authored Mar 2, 2017
    Configuration menu
    Copy the full SHA
    38ad8b3 View commit details
    Browse the repository at this point in the history
  6. Review comment fixes

    bbeaudreault committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    70c68d6 View commit details
    Browse the repository at this point in the history
  7. travis: Stop publishing coverage to coveralls.io.

    It has not been working for a while and I was not able to fix it.
    
    Additionally, it recently started to flake e.g. we saw this error:
    
    > Bad response status from coveralls: 422 - {"message":"Couldn't find a
    repository matching this job.","error":true}
    
    https://travis-ci.org/youtube/vitess/jobs/206464990
    
    Let's remove it and replace it with something else at a later point.
    michael-berlin committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    3937b04 View commit details
    Browse the repository at this point in the history
  8. Merge pull request vitessio#2548 from HubSpot/jdbc_charsets

    Adds decoding of strings and string-like blobs based on the charset returned by MySQL
    michael-berlin authored Mar 2, 2017
    Configuration menu
    Copy the full SHA
    26bbcd2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a405923 View commit details
    Browse the repository at this point in the history
  10. test: vtgate_buffer.py: Ttest for the varz value and not just existence.

    Since go/vt-pull/2608 it is always initialized and broke this test.
    michael-berlin committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    825a065 View commit details
    Browse the repository at this point in the history
  11. Merge pull request vitessio#2617 from michael-berlin/remove_coveralls

    travis: Stop publishing coverage to coveralls.io.
    michael-berlin authored Mar 2, 2017
    Configuration menu
    Copy the full SHA
    b6d1c59 View commit details
    Browse the repository at this point in the history
  12. Merge pull request vitessio#2619 from michael-berlin/vtgate_buffer_fi…

    …x_export
    
    test: vtgate_buffer.py: Ttest for the varz value and not just existence.
    michael-berlin authored Mar 2, 2017
    Configuration menu
    Copy the full SHA
    cffcdd1 View commit details
    Browse the repository at this point in the history
  13. Merge pull request vitessio#2618 from erzel/removing_query_splitter

    Removed the old unused query_splitter.go and related test
    erzel authored Mar 2, 2017
    Configuration menu
    Copy the full SHA
    7b1eb30 View commit details
    Browse the repository at this point in the history
  14. update success flag

    alouane authored Mar 2, 2017
    Configuration menu
    Copy the full SHA
    06ab24a View commit details
    Browse the repository at this point in the history
  15. Merge pull request vitessio#2622 from alouane/patch-1

    update success flag
    michael-berlin authored Mar 2, 2017
    Configuration menu
    Copy the full SHA
    7d78803 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2017

  1. Configuration menu
    Copy the full SHA
    104bee0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    176336a View commit details
    Browse the repository at this point in the history
  3. java/client: Use immutable instead of interface type.

    This is recommended by the Guava docs:
    
    "For field types and method return types, you should generally use the immutable type (such as ImmutableList) instead of the general collection interface type (such as List). This communicates to your callers all of the semantic guarantees listed above, which is almost always very useful information."
    
    From: https://google.github.io/guava/releases/21.0/api/docs/com/google/common/collect/ImmutableCollection.html
    michael-berlin committed Mar 3, 2017
    Configuration menu
    Copy the full SHA
    bcfaabb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d24a3e5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request vitessio#2623 from michael-berlin/export_java_fix

    java/client: Use immutable instead of interface type.
    michael-berlin authored Mar 3, 2017
    Configuration menu
    Copy the full SHA
    9c793e2 View commit details
    Browse the repository at this point in the history
  6. Refactors JDBC driver to parse TLS options in VitessConnection class

    Fixes broken unit tests
    
    Bumps version of Java client artifacts from 1.0-SNAPSHOT to 1.1.0-SNAPSHOT
    
    Adds null check
    
    Removes redundant fields
    
    Removes duplicate method
    
    Removes redundant unit tests
    
    Fixes broken unit tests
    
    Restores missing test
    steve-perkins committed Mar 3, 2017
    Configuration menu
    Copy the full SHA
    b60da2f View commit details
    Browse the repository at this point in the history
  7. Merge pull request vitessio#2529 from BetterCloud/jdbc-refactor

    Refactors JDBC driver to parse TLS options in VitessConnection class
    michael-berlin authored Mar 3, 2017
    Configuration menu
    Copy the full SHA
    45e8bf2 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2017

  1. WIP -- Working to support migration-scoped queries from VTGate (vites…

    …sio#2606)
    
    * Reload schemas on all DDLs. Support table qualifiers in DDL queries.
    
    * For now only support table_name in non-create because the lookahead conflicts with force_eof
    
    * create tables cant have a row count, so no point checking. This avoids an NPE on Table.Name, since creates are the only one to only have a NewName
    
    * Make table_name work for CREATE and VIEWs. Fix alter view test, the syntax in the test failed to parse and was incorrect according to docs
    
    * This test does not apply since the removal of TableWasDropped
    
    * If we're in a transaction, don't start a new one
    
    * Reload schema on commit, if necessary
    
    * recycle connection when using transaction
    
    * utilize existing autocommit function
    
    * simplify
    
    * unneeded function
    
    * If an transaction is open, we should commit it before running the DDL -- DDL's have an implicit commit.
    
    * implement and use BeginAgain when we implicit commit a running transaction due to DDL
    
    * Move BeginAgain to TxConnection
    
    * dont lowercase qualifier
    bbeaudreault authored and sougou committed Mar 4, 2017
    Configuration menu
    Copy the full SHA
    e2f97f8 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2017

  1. Configuration menu
    Copy the full SHA
    980bd64 View commit details
    Browse the repository at this point in the history
  2. Exporting internal changes back to open-source. (vitessio#2627)

    NOTE: This is an automated export. Changes were already LGTM'd internally.
    
    BUG=35968999
    sougou authored Mar 7, 2017
    Configuration menu
    Copy the full SHA
    1b10471 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c8fa8a View commit details
    Browse the repository at this point in the history
  4. Address comments.

    thompsonja committed Mar 7, 2017
    Configuration menu
    Copy the full SHA
    1bd0d3c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ba31fb5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    635af5a View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2017

  1. Merge pull request vitessio#2626 from thompsonja/sandbox_updates

    Kubernetes sandbox reliability updates.
    thompsonja authored Mar 8, 2017
    Configuration menu
    Copy the full SHA
    e7d11ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ade30b View commit details
    Browse the repository at this point in the history
  3. Merge pull request vitessio#2629 from thompsonja/sandbox_updates

    Remove unused sandbox test.
    thompsonja authored Mar 8, 2017
    Configuration menu
    Copy the full SHA
    f9b8c35 View commit details
    Browse the repository at this point in the history
  4. Suppress output when checking for python2 binaries.

    The check did print output like this:
    /usr/bin/python2
    /usr/bin/pip2
    
    If you did source dev.env in your .bashrc, you would see it in every new shell.
    michael-berlin committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    a9e9713 View commit details
    Browse the repository at this point in the history
  5. Merge pull request vitessio#2630 from michael-berlin/stop_printing_py…

    …thon2_binaries
    
    Suppress output when checking for python2 binaries.
    michael-berlin authored Mar 8, 2017
    Configuration menu
    Copy the full SHA
    f740814 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2017

  1. Add charset/snapshot_file to vttest. (vitessio#2611)

    This helps for testing efforts that require restoring from a snapshot. Also, setting charset is already allowed via start_vt_processes, so this PR just exposes it through run_local_database.
    thompsonja authored Mar 10, 2017
    Configuration menu
    Copy the full SHA
    1f82f98 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64eaa20 View commit details
    Browse the repository at this point in the history
  3. Better support for more RBR types.

    * Making RBR TableMap simpler to parse.
    * Fixing RBR support for integer types.
    * Adding metadata parsing. Supporting Varchar.
      The metadata field is needs for varchars, as it contains the maximum
      length of the string, which drives using one or two bytes for actual
      length.
    * Adding support for date, time, datetime.
    * Adding Bit and xxx2 time types.
    alainjobart committed Mar 10, 2017
    Configuration menu
    Copy the full SHA
    49ff3a6 View commit details
    Browse the repository at this point in the history
  4. Moving eventtoken.Minimum to go/sqltypes.

    That way it removes a dependency, and I can now merge
    go/mysqlconn/replication into go/mysqlconn.
    alainjobart committed Mar 10, 2017
    Configuration menu
    Copy the full SHA
    606d68c View commit details
    Browse the repository at this point in the history
  5. Consolidating two cell printing methods.

    * Adding type to original cellData method.
      Now that dependency is fixed, we can use sqltypes.IsSigned from
      mysqlconn/replication library.
    * De-dupping printing code, using sqltypes.Value.
    * Using strconv instead of Sprintf when possible.
      For numeric types.
    alainjobart committed Mar 10, 2017
    Configuration menu
    Copy the full SHA
    147336e View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2017

  1. Merge pull request vitessio#2607 from alainjobart/rbr

    RBR support in binlog streaming.
    alainjobart authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    ce72713 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2017

  1. tabletserver: simplify query_engine->planbuilder

    The relationship was complicated due to the callback
    function. Instead, we just pass the schema into planbuilder.
    
    Plan building now uses a shared lock. This resolves the long-standing
    issue of holding a lock while running a query against MySQL.
    
    Plan types have been renamed to be more meaningful.
    sougou committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    58f803d View commit details
    Browse the repository at this point in the history
  2. tabletserver: strictMode check moved to QueryEngine

    It makes more sense for strict mode check to be moved to QueryEngine
    because it's the one that depends on that property.
    sougou committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    76c8fd8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9a1b1f View commit details
    Browse the repository at this point in the history
  4. tabletserver: rename messager types

    Also, export only Engine from messager. The rest are all inernal.
    sougou committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    3a7454b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    794dd7c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cee83c2 View commit details
    Browse the repository at this point in the history
  7. tabletserver: the big move

    * Created vttablet directory to hold tabletserver and tabletmanager.
    * scaffolding packages like grpc and interfaces are under vttablet.
    * tabletserver and tabletmanager have subdirs, but only on packages
      they depend on.
    sougou committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    07b8471 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0e4edf3 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2017

  1. Configuration menu
    Copy the full SHA
    0327cf4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f46b73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e959ccc View commit details
    Browse the repository at this point in the history
  4. NewDecimal support.

    alainjobart committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    f67cfc6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    140e9e1 View commit details
    Browse the repository at this point in the history
  6. geometry support.

    alainjobart committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    e2e4625 View commit details
    Browse the repository at this point in the history
  7. Changing internal API for binlogs.

    To use an internal data structure (vs the proto structure), so we can
    get more information from RBR events if available.
    
    Filling in the table name when available in RBR event, and using it in
    table filter.
    alainjobart committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    145f4d4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d88e2e5 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2017

  1. workflow: Implement canary feature. (vitessio#2613)

    User can control through UI for running a canary task,
    then running the remaining tasks. Create unit tests
    and manually test the UI in e2e test environment.
    wangyipei01 authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    925addf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7420b1 View commit details
    Browse the repository at this point in the history
  3. Adding a rbr version of vertical_split.py.

    Extra bonus: it actually passes.
    alainjobart committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    f4a97f6 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2017

  1. Merge pull request vitessio#2636 from alainjobart/rbr

    Rbr: more work.
    alainjobart authored Mar 16, 2017
    Configuration menu
    Copy the full SHA
    4008934 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca81fda View commit details
    Browse the repository at this point in the history