Bug 1335366

Summary: [RFE] Gluster RPC should have capability to support multiple PROGRAM VERSIONS
Product: [Community] GlusterFS Reporter: Raghavendra Talur <rtalur>
Component: rpcAssignee: Milind Changire <mchangir>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: atumball, bugs, nbalacha
Target Milestone: ---Keywords: RFE, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-08 17:38:31 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:

Description Raghavendra Talur 2016-05-12 05:16:04 UTC
Description of problem:
When new features are added, we might need to extend/change the existing RPC Procedures. This breaks backward compatibility with old clients unless there is support for versioning of rpc programs thereby allowing existence of two versions of same procedure. Clients would then be able to choose the version they would want to send requests to as part of the negotiation/handshake.

This when implemented would reduce the need to extend the features using xdata which is opaque object for RPC. The xdata method is more prone to errors because RPC can't impose checks on xdata.

Comment 1 Amar Tumballi 2018-10-08 17:38:31 UTC
This feature is already available with RPC implementation in glusterfs.

For better reading: https://github.com/gluster/glusterfs/blob/master/doc/developer-guide/rpc-for-glusterfs.new-versions.md