<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/app/models/issue.rb, branch replace_explore_projects.feature</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>Improve list of sorting options</title>
<updated>2017-09-23T00:46:53+00:00</updated>
<author>
<name>Vitaliy @blackst0ne Klachkov</name>
<email>blackst0ne.ru@gmail.com</email>
</author>
<published>2017-09-23T00:46:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0d236638b683d368d5384e95dd75772a68c727c2'/>
<id>0d236638b683d368d5384e95dd75772a68c727c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix refreshing of issues/MR count caches</title>
<updated>2017-09-19T15:16:45+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2017-09-19T11:55:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=57b96eb6db9b860991b035714e65ffd557327b6f'/>
<id>57b96eb6db9b860991b035714e65ffd557327b6f</id>
<content type='text'>
This ensures the open issues/MR count caches are refreshed properly when
creating new issues or MRs. This MR also includes a change to the cache
keys to ensure all caches are rebuilt on the fly.

This particular problem was not caught in the test suite due to a null
cache being used, resulting in all calls that would use a cache using
the underlying data directly. In production the code would fail because
a newly saved record returns an empty hash in #changes meaning checks
such as `state_changed? || confidential_changed?` would return false for
new rows, thus never updating the counters.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/38061
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ensures the open issues/MR count caches are refreshed properly when
creating new issues or MRs. This MR also includes a change to the cache
keys to ensure all caches are rebuilt on the fly.

This particular problem was not caught in the test suite due to a null
cache being used, resulting in all calls that would use a cache using
the underlying data directly. In production the code would fail because
a newly saved record returns an empty hash in #changes meaning checks
such as `state_changed? || confidential_changed?` would return false for
new rows, thus never updating the counters.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/38061
</pre>
</div>
</content>
</entry>
<entry>
<title>Delete duplicated lines.</title>
<updated>2017-09-11T09:25:54+00:00</updated>
<author>
<name>Shinichi Maeshima</name>
<email>netwillnet@gmail.com</email>
</author>
<published>2017-09-11T09:25:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=86ec2bf1a11afc6d1a513d8fe3e6cc018d2e5901'/>
<id>86ec2bf1a11afc6d1a513d8fe3e6cc018d2e5901</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 'master' into issue-discussions-refactor</title>
<updated>2017-08-31T16:02:19+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@selenight.nl</email>
</author>
<published>2017-08-31T16:02:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=92edb3edab89dcb7b87bad3ac0fe7fed404fea85'/>
<id>92edb3edab89dcb7b87bad3ac0fe7fed404fea85</id>
<content type='text'>
# Conflicts:
#	app/models/issue.rb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# Conflicts:
#	app/models/issue.rb
</pre>
</div>
</content>
</entry>
<entry>
<title>Only update the sidebar count caches when needed</title>
<updated>2017-08-30T13:49:40+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2017-08-25T13:26:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=c158a22fd3cc5c3d60b5e0e1bf44f8aa75617d70'/>
<id>c158a22fd3cc5c3d60b5e0e1bf44f8aa75617d70</id>
<content type='text'>
This ensures the issues/MR cache of the sidebar is only updated when the
state or confidential flags changes, instead of changing this for every
update.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ensures the issues/MR cache of the sidebar is only updated when the
state or confidential flags changes, instead of changing this for every
update.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into issue-discussions-refactor</title>
<updated>2017-08-30T08:14:56+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@selenight.nl</email>
</author>
<published>2017-08-30T08:14:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b181d3124e4aefca59fb8fe64400eab8d9c73ad8'/>
<id>b181d3124e4aefca59fb8fe64400eab8d9c73ad8</id>
<content type='text'>
# Conflicts:
#	app/models/issue.rb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# Conflicts:
#	app/models/issue.rb
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'cache-issue-and-mr-counts' into 'master'</title>
<updated>2017-08-23T14:21:41+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2017-08-23T14:21:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=75d1283e59b296616ed1592de9856fc3d049f1ef'/>
<id>75d1283e59b296616ed1592de9856fc3d049f1ef</id>
<content type='text'>
Cache the number of open issues and merge requests

Closes #36622

See merge request !13639</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cache the number of open issues and merge requests

Closes #36622

See merge request !13639</pre>
</div>
</content>
</entry>
<entry>
<title>Cache the number of open issues and merge requests</title>
<updated>2017-08-23T11:42:29+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2017-08-17T15:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=6ec53f5d488fcdc6ef2b076c37a46525b5176224'/>
<id>6ec53f5d488fcdc6ef2b076c37a46525b5176224</id>
<content type='text'>
Every project page displays a navigation menu that in turn displays the
number of open issues and merge requests. This means that for every
project page we run two COUNT(*) queries, each taking up roughly 30
milliseconds on GitLab.com. By caching these numbers and refreshing them
whenever necessary we can reduce loading times of all these pages by up
to roughly 60 milliseconds.

The number of open issues does not include confidential issues. This is
a trade-off to keep the code simple and to ensure refreshing the data
only needs 2 COUNT(*) queries instead of 3. A downside is that if a
project only has 5 confidential issues the counter will be set to 0.

Because we now have 3 similar counting service classes the code
previously used in Projects::ForksCountService has mostly been moved to
Projects::CountService, which in turn is reused by the various service
classes.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36622
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Every project page displays a navigation menu that in turn displays the
number of open issues and merge requests. This means that for every
project page we run two COUNT(*) queries, each taking up roughly 30
milliseconds on GitLab.com. By caching these numbers and refreshing them
whenever necessary we can reduce loading times of all these pages by up
to roughly 60 milliseconds.

The number of open issues does not include confidential issues. This is
a trade-off to keep the code simple and to ensure refreshing the data
only needs 2 COUNT(*) queries instead of 3. A downside is that if a
project only has 5 confidential issues the counter will be set to 0.

Because we now have 3 similar counting service classes the code
previously used in Projects::ForksCountService has mostly been moved to
Projects::CountService, which in turn is reused by the various service
classes.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36622
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into issue-discussions-refactor</title>
<updated>2017-08-23T09:31:17+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@selenight.nl</email>
</author>
<published>2017-08-23T09:31:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=fbe82e4cd9f4cda7264bb78eab9c5c55e6311518'/>
<id>fbe82e4cd9f4cda7264bb78eab9c5c55e6311518</id>
<content type='text'>
# Conflicts:
#	package.json
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# Conflicts:
#	package.json
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove ignore columns</title>
<updated>2017-08-18T16:03:58+00:00</updated>
<author>
<name>Felipe Artur</name>
<email>felipefac@gmail.com</email>
</author>
<published>2017-08-18T16:02:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=998833dfdcf15a1e63f342efa6cba24bb370c610'/>
<id>998833dfdcf15a1e63f342efa6cba24bb370c610</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
