<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/doc/development/background_migrations.md, branch docs/refactor-pgloader</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>Make unordered lists conform to styleguide</title>
<updated>2019-01-08T02:21:09+00:00</updated>
<author>
<name>Evan Read</name>
<email>eread@gitlab.com</email>
</author>
<published>2018-11-13T06:07:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d98560c1f5c54127d1a48c4c8e326bbf06c31c4b'/>
<id>d98560c1f5c54127d1a48c4c8e326bbf06c31c4b</id>
<content type='text'>
- Also makes other minor Markdown fixes that were near the main fixes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Also makes other minor Markdown fixes that were near the main fixes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ActiveRecord::Migration deprecations</title>
<updated>2018-12-12T15:38:40+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2018-12-12T15:38:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=40ad7d5d7a01a6f019ce1c3bb8864b16fc48e9c8'/>
<id>40ad7d5d7a01a6f019ce1c3bb8864b16fc48e9c8</id>
<content type='text'>
Extending from ActiveRecord::Migration is deprecated, but was still used
in a bunch of places.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extending from ActiveRecord::Migration is deprecated, but was still used
in a bunch of places.
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolve "CE documentation is not CommonMark compliant"</title>
<updated>2018-09-06T16:52:18+00:00</updated>
<author>
<name>Brett Walker</name>
<email>bwalker@gitlab.com</email>
</author>
<published>2018-09-06T16:52:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b0be58a1b313df976ea4b0e37163f8fea81ce5f4'/>
<id>b0be58a1b313df976ea4b0e37163f8fea81ce5f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Respond to DB health in background migrations</title>
<updated>2018-08-06T13:20:36+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2018-07-19T15:16:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=91b752dce63147bc99d7784d3d37865efb5e9352'/>
<id>91b752dce63147bc99d7784d3d37865efb5e9352</id>
<content type='text'>
This changes the BackgroundMigration worker so it checks for the health
of the DB before performing a background migration. This in turn allows
us to reduce the minimum interval, without having to worry about blowing
things up if we schedule too many migrations.

In this setup, the BackgroundMigration worker will reschedule jobs as
long as the database is considered to be in an unhealthy state. Once the
database has recovered, the migration can be performed.

To determine if the database is in a healthy state, we look at the
replication lag of any replication slots defined on the primary. If the
lag is deemed to great (100 MB by default) for too many slots, the
migration is rescheduled for a later point in time.

The health checking code is hidden behind a feature flag, allowing us to
disable it if necessary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes the BackgroundMigration worker so it checks for the health
of the DB before performing a background migration. This in turn allows
us to reduce the minimum interval, without having to worry about blowing
things up if we schedule too many migrations.

In this setup, the BackgroundMigration worker will reschedule jobs as
long as the database is considered to be in an unhealthy state. Once the
database has recovered, the migration can be performed.

To determine if the database is in a healthy state, we look at the
replication lag of any replication slots defined on the primary. If the
lag is deemed to great (100 MB by default) for too many slots, the
migration is rescheduled for a later point in time.

The health checking code is hidden behind a feature flag, allowing us to
disable it if necessary.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add points regarding background migrations on huge tables</title>
<updated>2018-07-24T15:39:52+00:00</updated>
<author>
<name>Oswaldo Ferreira</name>
<email>oswaldo@gitlab.com</email>
</author>
<published>2018-07-24T14:37:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=378610372fae447b9af00ebecfca94a2edc3c4b7'/>
<id>378610372fae447b9af00ebecfca94a2edc3c4b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed typos</title>
<updated>2018-04-27T08:50:05+00:00</updated>
<author>
<name>Pascal Borreli</name>
<email>pascal@borreli.com</email>
</author>
<published>2018-04-27T08:50:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=12e3eff462077008143146181c81f77204d1a8a9'/>
<id>12e3eff462077008143146181c81f77204d1a8a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add more detail to cleanup steps for background migrations</title>
<updated>2018-04-18T10:06:59+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@gitlab.com</email>
</author>
<published>2018-04-18T10:06:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=3772310423ce84b9ec6f1c1b29c0ad2e2d234efe'/>
<id>3772310423ce84b9ec6f1c1b29c0ad2e2d234efe</id>
<content type='text'>
1. We can't just steal from the queue, in case there was a problem with Sidekiq.
2. We need to consider import / export.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. We can't just steal from the queue, in case there was a problem with Sidekiq.
2. We need to consider import / export.
</pre>
</div>
</content>
</entry>
<entry>
<title>[docs] Info rescheduling background migrations</title>
<updated>2018-02-08T08:44:59+00:00</updated>
<author>
<name>Bob Van Landuyt</name>
<email>bob@vanlanduyt.co</email>
</author>
<published>2018-02-08T08:15:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=917fb1744c10cdddd50c22bda690dfcca9a47eff'/>
<id>917fb1744c10cdddd50c22bda690dfcca9a47eff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: Spelling fixes</title>
<updated>2018-01-19T10:09:59+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2018-01-19T10:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0cbbb08e790260ad936810e0047e03938c001e9b'/>
<id>0cbbb08e790260ad936810e0047e03938c001e9b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistently schedule Sidekiq jobs</title>
<updated>2017-12-05T10:59:39+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@selenight.nl</email>
</author>
<published>2017-11-29T15:30:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=1e6ca3c41ead23c5e433460c8c807ea73d9ec0ef'/>
<id>1e6ca3c41ead23c5e433460c8c807ea73d9ec0ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
