<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/tests/basic/afr/split-brain-healing.t, branch v3.7.9</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>Tests: ls portability regarding dot-files</title>
<updated>2015-03-18T10:46:46+00:00</updated>
<author>
<name>Emmanuel Dreyfus</name>
<email>manu@netbsd.org</email>
</author>
<published>2015-03-17T19:40:58+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=dde946f72a758410a80e05bf5f8447426db0b4a4'/>
<id>dde946f72a758410a80e05bf5f8447426db0b4a4</id>
<content type='text'>
When run as root, BSD ls(1) lists dot-files, which includes
.glusterfs in split-brain-healing.t's usage. This leads to failure.
gfid-self-heal.t suffers the same problem.

Fix by filtering out dot-files in ls(1) output

NB: split-brain-healing.t also requires http://review.gluster.org/9831
to pass on NetBSD.

BUG: 1129939
Change-Id: Ic572d3abf685e9b43f32ddee8a13b5f5c4ae641f
Signed-off-by: Emmanuel Dreyfus &lt;manu@netbsd.org&gt;
Reviewed-on: http://review.gluster.org/9885
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Ravishankar N &lt;ravishankar@redhat.com&gt;
Reviewed-by: Kaleb KEITHLEY &lt;kkeithle@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When run as root, BSD ls(1) lists dot-files, which includes
.glusterfs in split-brain-healing.t's usage. This leads to failure.
gfid-self-heal.t suffers the same problem.

Fix by filtering out dot-files in ls(1) output

NB: split-brain-healing.t also requires http://review.gluster.org/9831
to pass on NetBSD.

BUG: 1129939
Change-Id: Ic572d3abf685e9b43f32ddee8a13b5f5c4ae641f
Signed-off-by: Emmanuel Dreyfus &lt;manu@netbsd.org&gt;
Reviewed-on: http://review.gluster.org/9885
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Ravishankar N &lt;ravishankar@redhat.com&gt;
Reviewed-by: Kaleb KEITHLEY &lt;kkeithle@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fixing typo errors</title>
<updated>2015-02-02T20:28:16+00:00</updated>
<author>
<name>Sakshi Bansal</name>
<email>sabansal@redhat.com</email>
</author>
<published>2015-01-30T05:56:07+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=b05b77923903deb26e5b1bae52da46ff6c1c878e'/>
<id>b05b77923903deb26e5b1bae52da46ff6c1c878e</id>
<content type='text'>
Change-Id: I8caab03531d74c64dcfa05c35a7daeee646cd2fa
BUG: 1075417
Signed-off-by: Sakshi Bansal &lt;sabansal@redhat.com&gt;
Reviewed-on: http://review.gluster.org/9507
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Vijay Bellur &lt;vbellur@redhat.com&gt;
Reviewed-on: http://review.gluster.org/9548
Tested-by: Vijay Bellur &lt;vbellur@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I8caab03531d74c64dcfa05c35a7daeee646cd2fa
BUG: 1075417
Signed-off-by: Sakshi Bansal &lt;sabansal@redhat.com&gt;
Reviewed-on: http://review.gluster.org/9507
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Vijay Bellur &lt;vbellur@redhat.com&gt;
Reviewed-on: http://review.gluster.org/9548
Tested-by: Vijay Bellur &lt;vbellur@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cluster/afr: split-brain resolution CLI</title>
<updated>2015-01-15T09:28:37+00:00</updated>
<author>
<name>Ravishankar N</name>
<email>ravishankar@redhat.com</email>
</author>
<published>2015-01-09T14:43:22+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=8beaf169e39b262416e2274a028292379d39b310'/>
<id>8beaf169e39b262416e2274a028292379d39b310</id>
<content type='text'>
Extend the AFR heal command to include automated split-brain resolution.

This patch [3/3] is the final patch for afr automated split-brain resolution
implementation.

"gluster volume heal &lt;VOLNAME&gt; [full | statistics [heal-count [replica
&lt;HOSTNAME:BRICKNAME&gt;]] |info [healed | heal-failed | split-brain]| split-brain
{bigger-file &lt;FILE&gt; |source-brick &lt;HOSTNAME:BRICKNAME&gt; [&lt;FILE&gt;]}]"

The new additions being:
1.gluster volume heal &lt;VOLNAME&gt; split-brain bigger-file &lt;FILE&gt;
Locates the replica containing the FILE, selects bigger-file as source and
completes heal.

2.gluster volume heal &lt;VOLNAME&gt; split-brain source-brick &lt;HOSTNAME:BRICKNAME&gt;
&lt;FILE&gt;
Selects &lt;FILE&gt; present in &lt;HOSTNAME:BRICKNAME&gt; as source and completes heal.

3.gluster volume heal &lt;VOLNAME&gt; split-brain &lt;HOSTNAME:BRICKNAME&gt;
Selects all split-brained files in &lt;HOSTNAME:BRICKNAME&gt; as source and completes
heal.

Note: &lt;FILE&gt; can be either the full file name as seen from the root of the
volume (or) the gfid-string representation of the file, which sometimes gets
displayed in the heal info command's output.

Entry/gfid split-brain resolution is not supported.

Example can be found in the test case.

Change-Id: I4649733922d406f14f28ee9033a5cb627b9538b3
BUG: 1136769
Signed-off-by: Ravishankar N &lt;ravishankar@redhat.com&gt;
Reviewed-on: http://review.gluster.org/9377
Reviewed-by: Pranith Kumar Karampuri &lt;pkarampu@redhat.com&gt;
Tested-by: Pranith Kumar Karampuri &lt;pkarampu@redhat.com&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extend the AFR heal command to include automated split-brain resolution.

This patch [3/3] is the final patch for afr automated split-brain resolution
implementation.

"gluster volume heal &lt;VOLNAME&gt; [full | statistics [heal-count [replica
&lt;HOSTNAME:BRICKNAME&gt;]] |info [healed | heal-failed | split-brain]| split-brain
{bigger-file &lt;FILE&gt; |source-brick &lt;HOSTNAME:BRICKNAME&gt; [&lt;FILE&gt;]}]"

The new additions being:
1.gluster volume heal &lt;VOLNAME&gt; split-brain bigger-file &lt;FILE&gt;
Locates the replica containing the FILE, selects bigger-file as source and
completes heal.

2.gluster volume heal &lt;VOLNAME&gt; split-brain source-brick &lt;HOSTNAME:BRICKNAME&gt;
&lt;FILE&gt;
Selects &lt;FILE&gt; present in &lt;HOSTNAME:BRICKNAME&gt; as source and completes heal.

3.gluster volume heal &lt;VOLNAME&gt; split-brain &lt;HOSTNAME:BRICKNAME&gt;
Selects all split-brained files in &lt;HOSTNAME:BRICKNAME&gt; as source and completes
heal.

Note: &lt;FILE&gt; can be either the full file name as seen from the root of the
volume (or) the gfid-string representation of the file, which sometimes gets
displayed in the heal info command's output.

Entry/gfid split-brain resolution is not supported.

Example can be found in the test case.

Change-Id: I4649733922d406f14f28ee9033a5cb627b9538b3
BUG: 1136769
Signed-off-by: Ravishankar N &lt;ravishankar@redhat.com&gt;
Reviewed-on: http://review.gluster.org/9377
Reviewed-by: Pranith Kumar Karampuri &lt;pkarampu@redhat.com&gt;
Tested-by: Pranith Kumar Karampuri &lt;pkarampu@redhat.com&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
