Bug 1335366 - [RFE] Gluster RPC should have capability to support multiple PROGRAM VERSIONS
Summary: [RFE] Gluster RPC should have capability to support multiple PROGRAM VERSIONS
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: rpc
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milind Changire
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-12 05:16 UTC by Raghavendra Talur
Modified: 2018-10-08 17:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-08 17:38:31 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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


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