<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/app/models/lfs_object.rb, branch backport-gitlab-database</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 file_store for artifacts and lfs when saving</title>
<updated>2018-05-01T20:27:54+00:00</updated>
<author>
<name>Kamil Trzciński</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2018-05-01T20:27:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=9bb7abedf57f5325a92bebc2d93b85cf7e1fc303'/>
<id>9bb7abedf57f5325a92bebc2d93b85cf7e1fc303</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix direct_upload when records with null file_store are used</title>
<updated>2018-04-19T10:09:51+00:00</updated>
<author>
<name>Kamil Trzciński</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2018-04-13T08:20:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a28f25b565c58088d80545ebe483f8cd25c22c10'/>
<id>a28f25b565c58088d80545ebe483f8cd25c22c10</id>
<content type='text'>
Old records have a null value of file_store column.
This causes the problems with current direct_upload implementation,
as this makes it to choose Store::REMOTE instead of Store::LOCAL.

This change moves the store save when change saving the object.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Old records have a null value of file_store column.
This causes the problems with current direct_upload implementation,
as this makes it to choose Store::REMOTE instead of Store::LOCAL.

This change moves the store save when change saving the object.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert the addition of goldiloader</title>
<updated>2018-04-18T13:51:39+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2018-04-18T13:41:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=6f292eaa69c771cec8a81d2edaad19a26ab3eae6'/>
<id>6f292eaa69c771cec8a81d2edaad19a26ab3eae6</id>
<content type='text'>
This reverts the addition of the "goldiloader" Gem and all use of it.
While this Gem is very promising it's causing a variety of problems on
GitLab.com due to it eager-loading too much data in places where we
don't expect/can handle this. At least for the time being this means we
have to go back to manually fixing N+1 query problems, but at least
those should not cause a negative impact on availability.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts the addition of the "goldiloader" Gem and all use of it.
While this Gem is very promising it's causing a variety of problems on
GitLab.com due to it eager-loading too much data in places where we
don't expect/can handle this. At least for the time being this means we
have to go back to manually fixing N+1 query problems, but at least
those should not cause a negative impact on availability.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add cop for has_many :through without disabled autoloading</title>
<updated>2018-04-09T11:47:04+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@gitlab.com</email>
</author>
<published>2018-04-09T11:19:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=4ef3e3491e2ecc34e7f4de1221d5ad7b8b4a1e24'/>
<id>4ef3e3491e2ecc34e7f4de1221d5ad7b8b4a1e24</id>
<content type='text'>
Goldiloader is great, but has several issues with has_many :through relations:

* https://github.com/salsify/goldiloader/issues/12
* https://github.com/salsify/goldiloader/issues/14
* https://github.com/salsify/goldiloader/issues/18

Rather than try to figure out which applies in each case, we should just do the
drudge work of manually disabling autoloading for all relations of this type. We
can always use regular preloading for specific cases, but this way we avoid
generating invalid queries through Goldiloader's magic.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Goldiloader is great, but has several issues with has_many :through relations:

* https://github.com/salsify/goldiloader/issues/12
* https://github.com/salsify/goldiloader/issues/14
* https://github.com/salsify/goldiloader/issues/18

Rather than try to figure out which applies in each case, we should just do the
drudge work of manually disabling autoloading for all relations of this type. We
can always use regular preloading for specific cases, but this way we avoid
generating invalid queries through Goldiloader's magic.
</pre>
</div>
</content>
</entry>
<entry>
<title>Port LFS direct_upload from EE</title>
<updated>2018-03-27T08:32:48+00:00</updated>
<author>
<name>Alessio Caiazza</name>
<email>acaiazza@gitlab.com</email>
</author>
<published>2018-03-23T10:07:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=04c5e637f827d869f8bbfb21ca41eb552c3324d6'/>
<id>04c5e637f827d869f8bbfb21ca41eb552c3324d6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[cherry-pick] '4862-verify-file-checksums'</title>
<updated>2018-03-08T15:20:40+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@mcgivern.me.uk</email>
</author>
<published>2018-03-05T11:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=edbcde8877f497ea675fde811065679286a1aa56'/>
<id>edbcde8877f497ea675fde811065679286a1aa56</id>
<content type='text'>
See merge request gitlab-org/gitlab-ee!4753
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See merge request gitlab-org/gitlab-ee!4753
</pre>
</div>
</content>
</entry>
<entry>
<title>fixing some broken merges</title>
<updated>2018-03-02T21:19:17+00:00</updated>
<author>
<name>Micaël Bergeron</name>
<email>mbergeron@gitlab.com</email>
</author>
<published>2018-03-02T21:19:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b03b31659b0101dc4a5838bec7dca193706661cd'/>
<id>b03b31659b0101dc4a5838bec7dca193706661cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove geo specific code</title>
<updated>2018-03-01T21:30:31+00:00</updated>
<author>
<name>Micaël Bergeron</name>
<email>mbergeron@gitlab.com</email>
</author>
<published>2018-03-01T21:30:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0d458b96e8349a50877ebd55932bf806e93caa21'/>
<id>0d458b96e8349a50877ebd55932bf806e93caa21</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>port the object storage to CE</title>
<updated>2018-03-01T15:34:30+00:00</updated>
<author>
<name>Micaël Bergeron</name>
<email>mbergeron@gitlab.com</email>
</author>
<published>2018-02-21T16:43:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0f1d348d683fdef6c36c3b244c85e59f582ff886'/>
<id>0f1d348d683fdef6c36c3b244c85e59f582ff886</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 '4163-move-uploads-to-object-storage' into 'master'</title>
<updated>2018-02-28T19:58:15+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@mcgivern.me.uk</email>
</author>
<published>2018-02-02T13:59:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a7dae52e9d27adde427ef8aa066c0761071a3cd9'/>
<id>a7dae52e9d27adde427ef8aa066c0761071a3cd9</id>
<content type='text'>
Move uploads to object storage

Closes #4163

See merge request gitlab-org/gitlab-ee!3867
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move uploads to object storage

Closes #4163

See merge request gitlab-org/gitlab-ee!3867
</pre>
</div>
</content>
</entry>
</feed>
