1. 08 May, 2015 4 commits
    • Valery Sizov's avatar
      Merge branch 'fix-mysql-migration-with-tags' into 'master' · 7880589d
      Valery Sizov authored
      Change the MySQL collation type to utf8_bin to ensure case-sensitive tags are supported
      
      MySQL tables had a collation type of utf8_ci, which makes the name case-insensitive. Previously this migration was run only after indices were built, but it needs to happen before if there is existing data that is case-sensitive. This is an idempotent change, so applying it again in the existing migration (20150425164651) should not change anything.
      
      This is related to !623, but this migration should run before that one.
      
      * Closes #1589
      * Closes https://github.com/gitlabhq/gitlabhq/issues/9255
      
      See merge request !625
      7880589d
    • Valery Sizov's avatar
      Merge branch 'conditional-delete-taggings-indices' into 'master' · 99976128
      Valery Sizov authored
      Conditionally remove indices that may not exist in pre-GitLab v6.7 installations
      
      In pre-GitLab v6.7 installations, the `tagging` indices were directly added to the init schema and not added in a migration. Anyone using this older DB schema may not have these indicies, so only remove them if they are there.
      
      Closes #1593
      
      See merge request !626
      99976128
    • Valery Sizov's avatar
      Merge branch 'tag_dup' into 'master' · 708b5073
      Valery Sizov authored
      Remove tag duplicates
      
      Prevention of getting this error:
      
      ```
      ActiveRecord::RecordNotUnique: PG::Error: ERROR:  could not create unique index "index_tags_on_name"
      DETAIL:  Key (name)=(XSS') is duplicated.
      : CREATE UNIQUE INDEX  "index_tags_on_name" ON "tags"  ("name")
      ```
      
      This migration fails if there are duplicates:
      https://github.com/mbleigh/acts-as-taggable-on/blob/v3.5.0/db/migrate/2_add_missing_unique_indices.rb#L3
      
      See merge request !623
      708b5073
    • Jacob Vosmaer's avatar
      Add SIDEKIQ_MEMORY_KILLER_SHUTDOWN_SIGNAL env var · 87dd2dca
      Jacob Vosmaer authored
      It looks like SIGTERM may not be enough to shut down a Sidekiq process
      when its RSS has gotten too big. This change will allow us to experiment
      with sending SIGKILL instead of SIGTERM to Sidekiq processes on
      gitlab.com.
      87dd2dca
  2. 06 May, 2015 9 commits
  3. 05 May, 2015 1 commit
  4. 29 Apr, 2015 2 commits
  5. 22 Apr, 2015 4 commits
  6. 21 Apr, 2015 6 commits
  7. 20 Apr, 2015 9 commits
  8. 17 Apr, 2015 5 commits