[Bugs] [Bug 1554053] New: 4.0 clients may fail to convert iatt in dict when recieving the same from older (< 4.0) servers

bugzilla at redhat.com bugzilla at redhat.com
Sun Mar 11 04:13:18 UTC 2018


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

            Bug ID: 1554053
           Summary: 4.0 clients may fail to convert iatt in dict when
                    recieving the same from older (< 4.0) servers
           Product: GlusterFS
           Version: mainline
         Component: protocol
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: srangana at redhat.com
                CC: atumball at redhat.com, bugs at gluster.org,
                    rgowdapp at redhat.com
            Blocks: 1554018



+++ This bug was initially created as a clone of Bug #1554018 +++

Description of problem:

Based on review comments in https://review.gluster.org/#/c/19690 as follows,

Du: Do we support the case of older bricks/servers and newer clients? If yes,
we would face a similar problem. The only difference would be clients expecting
a newer iatt when an old iatt is sent.

Shyam: The problem is similar to the disadvantage/improvement that I had
mentioned in the review comments. If a client has the newer iatt implementation
and connects to an older server, the mapping will fail again. The reasons this
is not a major concern yet is as follows.

Our upgrade procedure and guide states servers first and then clients. So the
environment will get servers upgraded first and then the clients.

Now, a server would be upgraded in a rolling fashion, so say 1 server is
upgraded, then its service clients (quotad, selfheald, others...) would be the
latest, but connect with the older protocol version to the older servers.

Till DHT is not in the stack (as this problem is localized to the iatt in the
dict that DHT requests), we are fine, if any of these service daemons use DHT
in their graph, it may start facing the same/similar problem (rebalance comes
to mind, but we may need to add that to the upgrade guide).

The fix going forward (possibly we need this in 4.1) is to apply a similar fix
to the client stack as well.

Resolution:

The client protocol xlator also needs a translation of iatt in dict to actual
runtime definition of iatt, based on the protocol dialect in question. This
change should be similar to the change in the review mentioned above.

--- Additional comment from Shyamsundar on 2018-03-10 21:14:15 EST ---

Protocol end points (NFS, SAMBA/GFAPI) may get started on the upgraded servers,
which involves DHT in the graph, and can have issues if this is not addressed
for the clients as well.


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1554018
[Bug 1554018] 4.0 clients may fail to convert iatt in dict when recieving
the same from older (< 4.0) servers
-- 
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