<div dir="ltr">How about having &quot;review marathon&quot; once a week by every team? In past this has worked well and I don&#39;t see any reason why can&#39;t we spend 3-4 hours in a meeting on weekly basis to review incoming patches on the component that the team owns. <br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 8, 2016 at 11:23 AM, Poornima Gurusiddaiah <span dir="ltr">&lt;<a href="mailto:pgurusid@redhat.com" target="_blank">pgurusid@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Completely agree with your concern here. Keeping aside the regression part, few observations and suggestions:<br>
As per the Maintainers guidelines (<a href="https://gluster.readthedocs.io/en/latest/Contributors-Guide/Guidelines-For-Maintainers/" rel="noreferrer" target="_blank">https://gluster.readthedocs.io/en/latest/Contributors-Guide/Guidelines-For-Maintainers/</a>):<br>
<br>
    a&gt; Merge patches of owned components only.<br>
    b&gt; Seek approvals from all maintainers before merging a patchset spanning multiple components.<br>
    c&gt; Ensure that regression tests pass for all patches before merging.<br>
    d&gt; Ensure that regression tests accompany all patch submissions.<br>
    e&gt; Ensure that documentation is updated for a noticeable change in user perceivable behavior or design.<br>
    f&gt; Encourage code unit tests from patch submitters to improve the overall quality of the codebase.<br>
    g&gt; Not merge patches written by themselves until there is a +2 Code Review vote by other reviewers.<br>
<br>
Clearly a, b, are not being strictly followed, because of multiple reasons.<br>
- Not every component in Gluster has a Maintainer<br>
- Its getting difficult to get review time from maintainers as they are maintainers for several component, and they are also active developers.<br>
- What is enforced by mere documentation of procedure, is hard to implement.<br>
<br>
Below are the few things that we can do to reduce our review backlog:<br>
- No time for maintainers to review is not a good enough reason to bitrot patches in review for months, it clearly means we need additional maintainers for that component?<br>
- Add maintainers for every component that is in Gluster(atleast the ones which have incoming patches)<br>
- For every patch we submit we add &#39;component(s)&#39; label, and evaluate if gerrit can automatically add maintainers as reviewers, and have another label &#39;Maintainers ack&#39; which needs to be present for any patch to be merged.<br></blockquote><div><br></div><div>I believe this is something which Nigel is already working on.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- Before every major(or minor also?) release, any patch that is not making to the release should have a &#39;-1&#39; by the maintainer or the developer themselves stating the reason(preferably not no time to review).<br></blockquote><div><br></div><div>IMO, it should be the other way around, if the fix/RFE is a must for the upcoming release, it should be attached to the tracker bug to ensure release is blocked with out the patch. Having a -1 just for not targeting it for a specific release doesn&#39;t make sense to me.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  The release manager should ensure that there are no patches in below gerrit search link provided by Jeff. <br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Any thoughts?<br>
<br>
Regards,<br>
Poornima<br>
<div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
&gt; From: &quot;Jeff Darcy&quot; &lt;<a href="mailto:jdarcy@redhat.com">jdarcy@redhat.com</a>&gt;<br>
&gt; To: &quot;Gluster Devel&quot; &lt;<a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a>&gt;<br>
&gt; Sent: Friday, July 8, 2016 2:02:27 AM<br>
&gt; Subject: [Gluster-devel] Reducing merge conflicts<br>
&gt;<br>
&gt; I&#39;m sure a lot of you are pretty frustrated with how long it can take to get<br>
&gt; even a trivial patch through our Gerrit/Jenkins pipeline.  I know I am.<br>
&gt; Slow tests, spurious failures, and bikeshedding over style issues are all<br>
&gt; contributing factors.  I&#39;m not here to talk about those today.  What I am<br>
&gt; here to talk about is the difficulty of getting somebody - anybody - to look<br>
&gt; at a patch and (possibly) give it the votes it needs to be merged.  To put<br>
&gt; it bluntly, laziness here is *killing* us.  The more patches we have in<br>
&gt; flight, the more merge conflicts and rebases we have to endure for each one.<br>
&gt; It&#39;s a quadratic effect.  That&#39;s why I personally have been trying really<br>
&gt; hard to get patches that have passed all regression tests and haven&#39;t gotten<br>
&gt; any other review attention &quot;across the finish line&quot; so they can be merged<br>
&gt; and removed from conflict with every other patch still in flight.  The<br>
&gt; search I use for this, every day, is as follows:<br>
&gt;<br>
&gt;     <a href="http://review.gluster.org/#/q/status:open+project:glusterfs+branch:master+label:CentOS-regression%253E0+label:NetBSD-regression%253E0+-label:Code-Review%253C0" rel="noreferrer" target="_blank">http://review.gluster.org/#/q/status:open+project:glusterfs+branch:master+label:CentOS-regression%253E0+label:NetBSD-regression%253E0+-label:Code-Review%253C0</a><br>
&gt;<br>
&gt; That is:<br>
&gt;<br>
&gt;     open patches on glusterfs master (change project/branch as appropriate to<br>
&gt;     your role)<br>
&gt;<br>
&gt;     CentOS and NetBSD regression tests complete<br>
&gt;<br>
&gt;     no -1 or -2 votes which might represent legitimate cause for delay<br>
&gt;<br>
&gt; If other people - especially team leads and release managers - could make a<br>
&gt; similar habit of checking the queue and helping to get such &quot;low hanging<br>
&gt; fruit&quot; out of the way, we might see an appreciable increase in our overall<br>
&gt; pace of development.  If not, we might have to start talking about mandatory<br>
&gt; reviews with deadlines and penalties for non-compliance.  I&#39;m sure nobody<br>
&gt; wants to see their own patches blocked and their own deadlines missed<br>
&gt; because they weren&#39;t doing their part to review peers&#39; work, but that&#39;s a<br>
&gt; distinct possibility.  Let&#39;s all try to get this train unstuck and back on<br>
&gt; track before extreme measures become necessary.<br>
&gt; _______________________________________________<br>
&gt; Gluster-devel mailing list<br>
&gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt;<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
</div></div></blockquote></div><br></div></div>