[Bugs] [Bug 1790208] New: When the network of the second server is disconnected, applications on the first hang

bugzilla at redhat.com bugzilla at redhat.com
Sun Jan 12 15:35:05 UTC 2020


https://bugzilla.redhat.com/show_bug.cgi?id=1790208

            Bug ID: 1790208
           Summary: When the network of the second server is disconnected,
                    applications on the first hang
           Product: GlusterFS
           Version: 6
          Hardware: x86_64
                OS: Linux
            Status: NEW
         Component: glusterd
          Severity: urgent
          Assignee: bugs at gluster.org
          Reporter: vbnmail at bk.ru
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Hi.
Ubuntu 18.04

Description of problem:
If you disconnect the second server from the network, then it is impossible to
access the file on 1 server. The program freezes for the duration of
"network.ping-timeout" or more.


Version-Release number of selected component (if applicable):
The problem is present on two versions I use:
glusterfs 6.7
glusterfs 7.1


How reproducible:
File 1.php for server 1:
--------------------
<?php

while(1)
{
        file_put_contents("/mnt/gluster/text.txt", "text message");
        $txt = file_get_contents("/mnt/gluster/text.txt");
        echo date("H:i:s") . " : $txt \n";
        usleep(490*1000);
}
--------------------


Steps to Reproduce:
server 1: run "php 1.php"
server 2: run "service networking stop"
server 1: look at the output "php 1.php"
my video: https://yadi.sk/i/v6ghR2ETk8wF_A


Actual results:
17:54:24 : text message
17:54:24 : text message
17:54:25 : text message
17:54:25 : text message
17:54:26 : text message
17:54:26 : text message
17:54:27 : text message
17:54:27 : text message
17:54:28 : text message
17:54:28 : text message
17:54:29 : text message
17:54:48 : text message
17:54:48 : text message
17:54:49 : text message
17:54:49 : text message
17:54:50 : text message
17:54:50 : text message

between 17:54:29 and 17:54:48, a pause of 19 seconds.


Additional info:
I think the program should not create a hang.
Thx.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list