Skip to content
Permalink
Branch: master
Commits on Aug 13, 2019
  1. Access Vitess using the MySQL driver (#1144)

    tirsen committed Aug 13, 2019
    Adds a new VITESS_MYSQL data source type which accesses Vitess using the
    mysql protocol and the MySQL JDBC driver
Commits on Aug 2, 2019
  1. Fixes and speed ups for Vitess test running (#1126)

    tirsen committed Aug 2, 2019
    * Only pull Vitess image if it's not already pulled
    
    * Remove Vitess cluster container that is not running
    
    * Log the list of shards returned by Vitess
    
    * Work around the issue that sometimes SHOW VITESS_SHARDS returns nothing
    
    * Fix compilation error
    
    * Catch the JDBC error
Commits on Jul 3, 2019
  1. Send 429 when over capacity (#1089)

    tirsen committed Jul 3, 2019
    When Vitess returns the GRPC error code RESOURCE_EXHAUSTED that means
    we are temporarily over capacity. If we send back the error code 429 at
    that point then clients can take appropriate action and we also avoid
    paging oncall since otherwise we would be returning a 500 error.
Commits on Jun 23, 2019
  1. Retry on SQLRecoverableException (#1072)

    tirsen committed Jun 23, 2019
    This is thrown when Vitess errors with code ABORTED which indicates the
    current transaction was aborted and the client should try again. From
    the Vitess docs:
    	//  (b) Use ABORTED if the client should retry at a higher-level
    	//      (e.g., restarting a read-modify-write sequence).
Commits on Jun 6, 2019
  1. Make it not possible to disable scalability checks (#1032)

    tirsen committed Jun 6, 2019
Commits on Jun 5, 2019
  1. Allow full scatters as well (#1036)

    tirsen committed Jun 5, 2019
  2. Ignore syntax error caused by multiple threads (#1034)

    tirsen committed Jun 5, 2019
Commits on Jun 4, 2019
  1. Remove new lines

    tirsen committed Jun 4, 2019
  2. Fewer thread locals (#1031)

    tirsen committed Jun 4, 2019
Commits on Jun 3, 2019
  1. Detect table scans (#1020)

    tirsen committed Jun 3, 2019
Commits on May 27, 2019
  1. Better shard not found error message

    tirsen committed May 27, 2019
Commits on May 20, 2019
  1. Merge pull request #997 from square/jontirsen/2019-05-20/validate-once

    tirsen committed May 20, 2019
    Validate each database only once
  2. Validate each database only once

    tirsen committed May 20, 2019
  3. Merge pull request #996 from square/jontirsen/2019-05-19/service-logging

    tirsen committed May 20, 2019
    Log error when service fails
  4. Log error when service fails

    tirsen committed May 19, 2019
Commits on Apr 16, 2019
  1. Merge pull request #925 from square/jontirsen/2019-04-11/local-dev-ro…

    tirsen committed Apr 16, 2019
    …bustness
    
     Extend transaction timeout for debugging
Commits on Apr 15, 2019
  1. Extend transaction timeout for debugging

    tirsen committed Apr 4, 2019
Commits on Apr 11, 2019
  1. Add some robustness to local development with Vitess

    tirsen committed Apr 11, 2019
Commits on Apr 4, 2019
  1. Add some more nice extension methods to ResultSet (#904)

    tirsen committed Apr 4, 2019
Commits on Feb 12, 2019
  1. Validate schemas across all shards in Vitess (#767)

    tirsen committed Feb 12, 2019
Commits on Jan 31, 2019
  1. Support verifying migrations on Vitess (#748)

    tirsen committed Jan 31, 2019
    Iterates through all shards in the ShardMigrator and checking each one separately.
Commits on Jan 3, 2019
  1. Start Vitess when starting server in DEVELOPMENT environment (#699)

    tirsen committed Jan 3, 2019
    * Copy resources out of ResourceLoader to the file system
    
    * Start Vitess when starting server in DEVELOPMENT environment
    
    * Address jwilson's code review comments
Commits on Nov 26, 2018
  1. Really skip schema_version check on Vitess (#669)

    tirsen committed Nov 26, 2018
Commits on Nov 21, 2018
  1. Don't check for migrations on Vitess yet (#654)

    tirsen committed Nov 21, 2018
  2. Pull using docker pull CLI instead of the API (#655)

    tirsen committed Nov 21, 2018
    The CLI doesn't time out and gives much better UI feedback.
Commits on Nov 20, 2018
  1. Lazy SessionFactory binding (#653)

    tirsen committed Nov 20, 2018
    Injecting a raw SessionFactory triggers an eager call to
    SessionFactoryService.get() at injection time if you have a service that
    (directly or indirectly) injects a Transacter. The SessionFactoryService
    hasn't been started at that point which causes an IllegalStateException.
    Using a Provider<SessionFactory> makes this call lazy which solves the
    issue.
Commits on Oct 23, 2018
  1. New scalability checks (#539)

    tirsen committed Oct 23, 2018
    Cowrite check can now detect cross-entity group transactions even if
    they are on the same shard.
    
    Full scatter check now uses a metric exposed by vtgate rather than
    parsing through the query plans.
Commits on Sep 28, 2018
  1. Push generic stuff to the JDBC level (#502)

    tirsen committed Sep 28, 2018
    This separates generic database interaction "stuff" like connection
    pooling from Hibernate setup.
    
    This accomplishes two things:
    * Opens up for using other database interaction frameworks in the
      future.
    * Forces us to build scalability sanity checks in such a way that they
      do not overuse Hibernate trickeries.
    
    This is the first step towards extracting all this to a misk-jdbc module
    which does not depend on misk-hibernate and should be able to stand on
    its own.
    
    Also includes a cross shard query detector as an example of what we can
    build at this level.
Commits on Sep 20, 2018
  1. Add a test (with outcommented code and a TODO) for cross shard transa…

    tirsen committed Sep 20, 2018
    …ctions (#473)
Commits on Sep 19, 2018
  1. Basic entity group framework (#466)

    tirsen committed Sep 19, 2018
    Just the basics to code against. No runtime checks.
Commits on Sep 13, 2018
  1. Log Vitess cluster stdout/stderr (#461)

    tirsen committed Sep 13, 2018
  2. Vitess doesn't have a username/password it uses mTLS for auth (#458)

    tirsen committed Sep 13, 2018
Commits on Jul 31, 2018
  1. Gotta remove the container with force (#358)

    tirsen committed Jul 31, 2018
  2. Remove the Vitess container (#355)

    tirsen committed Jul 31, 2018
    Just killing a container does not remove it.
Older
You can’t perform that action at this time.