Bug 1697907 - ctime feature breaks old client to connect to new server
Summary: ctime feature breaks old client to connect to new server
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1697820 1698471
TreeView+ depends on / blocked
 
Reported: 2019-04-09 09:42 UTC by Atin Mukherjee
Modified: 2019-04-23 10:10 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
: 1698471 (view as bug list)
Environment:
Last Closed: 2019-04-17 15:21:51 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22536 0 None Merged glusterd: load ctime in the client graph only if it's not turned off 2019-04-10 03:27:12 UTC
Gluster.org Gerrit 22578 0 None Merged glusterd: fix loading ctime in client graph logic 2019-04-17 15:21:50 UTC

Description Atin Mukherjee 2019-04-09 09:42:08 UTC
Description of problem:

Considering ctime is a client side feature, we can't blindly load ctime xlator into the client graph if it's explicitly turned off, that'd result into backward compatibility issue where an old client can't mount a volume configured on a server which is having ctime feature.

Since ctime feature is enabled by default, any old client would still fail to connect to a new server until and unless this feature is turned off explicitly. Any client side feature when marked as enabled by default means there's a need to either turn of the feature if old client is to be made work with new servers or client needs to be upgraded to the latest version of server.

Version-Release number of selected component (if applicable):

Server >= release-6, client <= release-5

How reproducible:
Always

Steps to Reproduce:
1. Create a volume on glusterfs-5 or higher
2. Mount the volume from a client which is running any version lower than glusterfs-5
3. Mount doesn't go through

Actual results:
Mount fails

Expected results:
Mount shouldn't fail



Additional info:

Comment 1 Worker Ant 2019-04-09 09:48:09 UTC
REVIEW: https://review.gluster.org/22536 (glusterd: load ctime in the client graph only if it's not turned off) posted (#1) for review on master by Atin Mukherjee

Comment 2 Worker Ant 2019-04-10 03:27:13 UTC
REVIEW: https://review.gluster.org/22536 (glusterd: load ctime in the client graph only if it's not turned off) merged (#1) on master by Atin Mukherjee

Comment 3 Worker Ant 2019-04-16 11:54:12 UTC
REVIEW: https://review.gluster.org/22578 (glusterd: fix loading ctime in client graph logic) posted (#1) for review on master by Atin Mukherjee

Comment 4 Worker Ant 2019-04-17 15:21:51 UTC
REVIEW: https://review.gluster.org/22578 (glusterd: fix loading ctime in client graph logic) merged (#3) on master by Atin Mukherjee


Note You need to log in before you can comment on or make changes to this bug.