<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/db/post_migrate, branch docs-pages-force-https</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>Merge branch 'sync-merge-ref-upon-mergeability-check' into 'master'</title>
<updated>2019-06-24T09:31:46+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2019-06-24T09:31:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=7821defab33f917b62d1132339a521d609f191d6'/>
<id>7821defab33f917b62d1132339a521d609f191d6</id>
<content type='text'>
Automatically update MR merge-ref along merge status

See merge request gitlab-org/gitlab-ce!29569</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automatically update MR merge-ref along merge status

See merge request gitlab-org/gitlab-ce!29569</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'db/update-geo-nodes-primary' into 'master'</title>
<updated>2019-06-21T10:16:50+00:00</updated>
<author>
<name>Andreas Brandl</name>
<email>abrandl@gitlab.com</email>
</author>
<published>2019-06-21T10:16:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=4dcbee4d26bc473f408384e61b4f412df6f574de'/>
<id>4dcbee4d26bc473f408384e61b4f412df6f574de</id>
<content type='text'>
Disallow `NULL` values for `geo_nodes.primary` column

Closes gitlab-ee#12061

See merge request gitlab-org/gitlab-ce!29818</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disallow `NULL` values for `geo_nodes.primary` column

Closes gitlab-ee#12061

See merge request gitlab-org/gitlab-ce!29818</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '62772-migrate-managed-clusters-to-unmanaged' into 'master'</title>
<updated>2019-06-21T01:26:19+00:00</updated>
<author>
<name>Thong Kuah</name>
<email>tkuah@gitlab.com</email>
</author>
<published>2019-06-21T01:26:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=148516ba36855095fa995c2d4e8077919cdb6db6'/>
<id>148516ba36855095fa995c2d4e8077919cdb6db6</id>
<content type='text'>
Migrate managed clusters that aren't using managed features to unmanaged

Closes #62772

See merge request gitlab-org/gitlab-ce!29251</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Migrate managed clusters that aren't using managed features to unmanaged

Closes #62772

See merge request gitlab-org/gitlab-ce!29251</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate clusters with no token to unmanaged</title>
<updated>2019-06-20T22:30:26+00:00</updated>
<author>
<name>Tiger</name>
<email>twatson@gitlab.com</email>
</author>
<published>2019-06-14T00:45:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=bae848418b1784be938bb670da4ffceed06f42dd'/>
<id>bae848418b1784be938bb670da4ffceed06f42dd</id>
<content type='text'>
There are clusters that have Kubernetes namespaces
stored which are missing a service account token.
These namespaces are unable to be used for deployments,
so marking the clusters as unmanaged will allow the
platform credentials to be used instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are clusters that have Kubernetes namespaces
stored which are missing a service account token.
These namespaces are unable to be used for deployments,
so marking the clusters as unmanaged will allow the
platform credentials to be used instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>Automatically update MR merge-ref along merge status</title>
<updated>2019-06-20T14:48:30+00:00</updated>
<author>
<name>Oswaldo Ferreira</name>
<email>oswaldo@gitlab.com</email>
</author>
<published>2019-05-21T21:14:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=3af348b6cf28ef1d9d3025f7012049132b57798c'/>
<id>3af348b6cf28ef1d9d3025f7012049132b57798c</id>
<content type='text'>
This couples the code that transitions the `MergeRequest#merge_status`
and refs/merge-requests/:iid/merge ref update.

In general, instead of directly telling `MergeToRefService` to update
the merge ref, we should rely on `MergeabilityCheckService` to keep
both the merge status and merge ref synced. Now, if the merge_status is
`can_be_merged` it means the merge-ref is also updated to the latest.

We've also updated the logic to be more systematic and less user-based.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This couples the code that transitions the `MergeRequest#merge_status`
and refs/merge-requests/:iid/merge ref update.

In general, instead of directly telling `MergeToRefService` to update
the merge ref, we should rely on `MergeabilityCheckService` to keep
both the merge status and merge ref synced. Now, if the merge_status is
`can_be_merged` it means the merge-ref is also updated to the latest.

We've also updated the logic to be more systematic and less user-based.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into db/update-geo-nodes-primary</title>
<updated>2019-06-20T10:36:08+00:00</updated>
<author>
<name>Arun Kumar Mohan</name>
<email>arunmohandm@gmail.com</email>
</author>
<published>2019-06-20T10:36:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0cb6b787a0508ed891f5e69dad5c914e064db491'/>
<id>0cb6b787a0508ed891f5e69dad5c914e064db491</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove import columns from projects table</title>
<updated>2019-06-19T20:30:41+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2019-06-19T18:06:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=6c0bc9abdd2542cc0951bd34b150a5824b987636'/>
<id>6c0bc9abdd2542cc0951bd34b150a5824b987636</id>
<content type='text'>
In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21497, we
migrated all project import data into a separate table,
`project_import_data`.  In addition, we also added:

```
ignore_column :import_status, :import_jid, :import_error
```

In https://gitlab.com/gitlab-com/gl-infra/production/issues/908, we
observed some of these `import_error` columns consumed megabytes of
error backtraces and caused slow loading of projects whenever a `SELECT
* from projects` query loaded the row into memory.

Since we have long migrated away from these columns, we can now drop
these columns entirely.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21497, we
migrated all project import data into a separate table,
`project_import_data`.  In addition, we also added:

```
ignore_column :import_status, :import_jid, :import_error
```

In https://gitlab.com/gitlab-com/gl-infra/production/issues/908, we
observed some of these `import_error` columns consumed megabytes of
error backtraces and caused slow loading of projects whenever a `SELECT
* from projects` query loaded the row into memory.

Since we have long migrated away from these columns, we can now drop
these columns entirely.
</pre>
</div>
</content>
</entry>
<entry>
<title>Disallow `NULL` values for `geo_nodes.primary` column</title>
<updated>2019-06-18T22:14:33+00:00</updated>
<author>
<name>Arun Kumar Mohan</name>
<email>arunmohandm@gmail.com</email>
</author>
<published>2019-06-18T22:14:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d9abaab0c8fcc2f09c525a75093f7bb8858764ad'/>
<id>d9abaab0c8fcc2f09c525a75093f7bb8858764ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '57918-encrypt-feature-flags-tokens' into 'master'</title>
<updated>2019-06-18T13:41:44+00:00</updated>
<author>
<name>Kamil Trzciński</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2019-06-18T13:41:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=457db29067aa231cd357ac1b9981adc9548fee75'/>
<id>457db29067aa231cd357ac1b9981adc9548fee75</id>
<content type='text'>
Add migrations needed to encrypt feature flags client tokens

See merge request gitlab-org/gitlab-ce!29320</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add migrations needed to encrypt feature flags client tokens

See merge request gitlab-org/gitlab-ce!29320</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'ashmckenzie/add-created-at-index-to-events' into 'master'</title>
<updated>2019-06-18T04:05:19+00:00</updated>
<author>
<name>Thong Kuah</name>
<email>tkuah@gitlab.com</email>
</author>
<published>2019-06-18T04:05:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b6cc32b0e01c268a6f89223e3fa2ca46a3234155'/>
<id>b6cc32b0e01c268a6f89223e3fa2ca46a3234155</id>
<content type='text'>
Add index to events and audit_events tables

Closes gitlab-com/Product#309

See merge request gitlab-org/gitlab-ce!29194</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add index to events and audit_events tables

Closes gitlab-com/Product#309

See merge request gitlab-org/gitlab-ce!29194</pre>
</div>
</content>
</entry>
</feed>
