<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/db, branch fix/devops-remove-beta</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Fix: Use case in-sensitive ordering by name for groups</title>
<updated>2018-05-17T16:20:41+00:00</updated>
<author>
<name>Harish Ved</name>
<email>ved.harish3@gmail.com</email>
</author>
<published>2018-05-17T16:20:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b11c218ad9d4635c2230e7f8d105236ca32e5072'/>
<id>b11c218ad9d4635c2230e7f8d105236ca32e5072</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a unique and not null constraint on the project_features.project_id column</title>
<updated>2018-05-15T12:20:14+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2018-05-11T18:19:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=3126e89eb811ae76dbb46c122251485361bb69cb'/>
<id>3126e89eb811ae76dbb46c122251485361bb69cb</id>
<content type='text'>
This commit has two migrations:

1. The first prunes duplicate rows in the project_features table and leaves
   the row with the highest ID.  Since the behavior was indeterministic before
   and depended on which row the database decided to use, this change at least
   makes the permissions consistent. For example, in some cases, the Wiki may
   have been disabled but enabled in another entry.

2. The second adds a non-null constraint on the project_features.project_id
   column.

Closes #37882

Fixes a significant part of gitlab-com/migration#408.

We found that we were overcounting Wikis because of these duplicates.
On GitLab.com, there are 56 rows with duplicate entries by project_id, and 16,661 rows with NULL project_id values.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit has two migrations:

1. The first prunes duplicate rows in the project_features table and leaves
   the row with the highest ID.  Since the behavior was indeterministic before
   and depended on which row the database decided to use, this change at least
   makes the permissions consistent. For example, in some cases, the Wiki may
   have been disabled but enabled in another entry.

2. The second adds a non-null constraint on the project_features.project_id
   column.

Closes #37882

Fixes a significant part of gitlab-com/migration#408.

We found that we were overcounting Wikis because of these duplicates.
On GitLab.com, there are 56 rows with duplicate entries by project_id, and 16,661 rows with NULL project_id values.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add index on runner_type for ci_runners</title>
<updated>2018-05-15T10:01:00+00:00</updated>
<author>
<name>Dylan Griffith</name>
<email>dyl.griffith@gmail.com</email>
</author>
<published>2018-05-11T09:10:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=528859ddcf9890c5671ff57e36df7fb24aceea31'/>
<id>528859ddcf9890c5671ff57e36df7fb24aceea31</id>
<content type='text'>
We use this to filter runner and will use this increasingly in future
instead of is_shared so it should be indexed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We use this to filter runner and will use this increasingly in future
instead of is_shared so it should be indexed
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into 'fix-project-mirror-data-schema'</title>
<updated>2018-05-09T17:09:25+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2018-05-09T17:09:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=c4957ea958bbc9fcf30d59c8319ef5bf71d01219'/>
<id>c4957ea958bbc9fcf30d59c8319ef5bf71d01219</id>
<content type='text'>
# Conflicts:
#   db/schema.rb</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# Conflicts:
#   db/schema.rb</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fix/gb/add-missing-foreign-key-to-database-schema' into 'master'</title>
<updated>2018-05-09T16:09:28+00:00</updated>
<author>
<name>Kamil Trzciński</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2018-05-09T16:09:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=88c02d9efa4976176117c78f3e6454df2735ed67'/>
<id>88c02d9efa4976176117c78f3e6454df2735ed67</id>
<content type='text'>
Add missing pipeline build foreign key to the schema

See merge request gitlab-org/gitlab-ce!18846</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add missing pipeline build foreign key to the schema

See merge request gitlab-org/gitlab-ce!18846</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fix/gb/add-tmp-index-to-improve-stages-migration-cleanup' into 'master'</title>
<updated>2018-05-09T16:09:10+00:00</updated>
<author>
<name>Kamil Trzciński</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2018-05-09T16:09:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b673d75ced7420b55874fca8cdd59f6001e4483d'/>
<id>b673d75ced7420b55874fca8cdd59f6001e4483d</id>
<content type='text'>
Add tmp index to ci_builds to optimize stages migration

Closes #46179

See merge request gitlab-org/gitlab-ce!18844</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add tmp index to ci_builds to optimize stages migration

Closes #46179

See merge request gitlab-org/gitlab-ce!18844</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '46010-runner-type-not-null' into 'master'</title>
<updated>2018-05-09T12:22:13+00:00</updated>
<author>
<name>Kamil Trzciński</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2018-05-09T12:22:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=e960931828b85205f2355c6040ec48ca14740e48'/>
<id>e960931828b85205f2355c6040ec48ca14740e48</id>
<content type='text'>
Set `ci_runners.runner_type` not null

See merge request gitlab-org/gitlab-ce!18825</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set `ci_runners.runner_type` not null

See merge request gitlab-org/gitlab-ce!18825</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing pipeline build foreign key to the schema</title>
<updated>2018-05-09T11:11:41+00:00</updated>
<author>
<name>Grzegorz Bizon</name>
<email>grzesiek.bizon@gmail.com</email>
</author>
<published>2018-05-09T11:11:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=e5df8b58903bfe86c528aaf3d2a3a5ac7b00302d'/>
<id>e5df8b58903bfe86c528aaf3d2a3a5ac7b00302d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tmp index to ci_builds to optimize stages migration</title>
<updated>2018-05-09T10:56:41+00:00</updated>
<author>
<name>Grzegorz Bizon</name>
<email>grzesiek.bizon@gmail.com</email>
</author>
<published>2018-05-09T10:47:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=cb8f648c320c758a207c3d72ae6e7680e2ce498e'/>
<id>cb8f648c320c758a207c3d72ae6e7680e2ce498e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix `downtime_check` job</title>
<updated>2018-05-09T09:07:04+00:00</updated>
<author>
<name>blackst0ne</name>
<email>blackst0ne.ru@gmail.com</email>
</author>
<published>2018-05-09T09:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=55fa9425e924a2394aa05406c6b2439e7e0e94c5'/>
<id>55fa9425e924a2394aa05406c6b2439e7e0e94c5</id>
<content type='text'>
15fcd9650f6a4a5832e2ed57419b11e30d3f606f (!18547) squashes old migrations
to a single one.

Old migrations had `rubocop:disable all` rule, but the new migration doesn't
have it, so the `downtime_check` fails.

This commit explicitly tells that the migration requires downtime.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
15fcd9650f6a4a5832e2ed57419b11e30d3f606f (!18547) squashes old migrations
to a single one.

Old migrations had `rubocop:disable all` rule, but the new migration doesn't
have it, so the `downtime_check` fails.

This commit explicitly tells that the migration requires downtime.
</pre>
</div>
</content>
</entry>
</feed>
