Bug 1697907

Summary: ctime feature breaks old client to connect to new server
Product: [Community] GlusterFS Reporter: Atin Mukherjee <amukherj>
Component: glusterdAssignee: bugs <bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, nchilaka
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1698471 (view as bug list) Environment:
Last Closed: 2019-04-17 15:21:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1697820, 1698471    

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