Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add version 4.2 to all existing migrationsjprovazn-versioned-migrations | Jan Provaznik | 2018-11-22 | 1 | -1/+1 |
| | | | | | | | | | DB schema generated by a migration may look different in rails 4 and 5 (because rails 5 may use different default values). For this reason it's important to explicitly set for which rails version a migration was written for. See https://stackoverflow.com/questions/35929869/activerecordmigration-deprecation-warning-asks-for-rails-version-but-im-no/35930912#35930912 | ||||
* | disable_statement_timeout doesn't require any argument anymore | Gabriel Mazetto | 2018-08-11 | 1 | -1/+1 |
| | | | | | | | | | it will decide the method for disable statement_timeout upon per transaction or per session, based on how it's called. When calling with a block, block will be executed and it will use session based statement_timeout, otherwise will default to existing behavior. | ||||
* | Fix specs to use `disable_statement_timeout` correctly | Gabriel Mazetto | 2018-08-10 | 1 | -20/+20 |
| | |||||
* | Disable statement timeout when removing redundant stages | Grzegorz Bizon | 2018-02-07 | 1 | -0/+2 |
| | |||||
* | Remove old index after executing a query in stages migration | Grzegorz Bizon | 2018-02-07 | 1 | -1/+1 |
| | | | | | This makes it possible to heavily optimize this migration, because we need an outdated index to remove redundant stages faster. | ||||
* | Improve exceptions messages in code creating stages | Grzegorz Bizon | 2018-02-06 | 1 | -1/+4 |
| | |||||
* | Add more specs for unique stages index migration | Grzegorz Bizon | 2018-02-06 | 1 | -1/+4 |
| | |||||
* | Retry migration removing stages in case of duplicates | Grzegorz Bizon | 2018-02-05 | 1 | -4/+17 |
| | |||||
* | Revert create job service because of load balancing | Grzegorz Bizon | 2018-02-05 | 1 | -4/+15 |
| | | | | | | | | | Currently we still need to run EnsureStageService within a transaction, because when it runs within in a transaction we are going to stick to the primary database when using database load balancing. Extracting this out of the transaction makes it possible to hit into problems with replication lag in pipeline commit status API, which can cause a lot of trouble. | ||||
* | Fix indentation in migration removing duplicated stages | Grzegorz Bizon | 2018-01-25 | 1 | -1/+1 |
| | |||||
* | Fix migration removing duplicate stages on MySQL again | Grzegorz Bizon | 2018-01-25 | 1 | -0/+1 |
| | |||||
* | Fix removing redundant pipeline stages on MySQL | Grzegorz Bizon | 2018-01-25 | 1 | -4/+11 |
| | |||||
* | Optimize SQL query that removes duplicated stages | Grzegorz Bizon | 2018-01-24 | 1 | -4/+4 |
| | |||||
* | Remove redundant pipeline stages from the database | Grzegorz Bizon | 2018-01-24 | 1 | -0/+26 |