Bug 762607 (GLUSTER-875) - Implement a new protocol to provide proper backward/forward compatibility
Summary: Implement a new protocol to provide proper backward/forward compatibility
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-875
Product: GlusterFS
Classification: Community
Component: protocol
Version: mainline
Hardware: All
OS: All
low
high
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-30 05:37 UTC by Amar Tumballi
Modified: 2015-12-01 16:45 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: DA
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Amar Tumballi 2010-04-30 05:37:53 UTC
New protocol to implement RPC (XDR) based communication between server and client.

Comment 1 Anand Avati 2010-05-04 03:39:59 UTC
PATCH: http://patches.gluster.com/patch/3206 in master ('features/locks': remove all reference to 'transport_t')

Comment 2 Anand Avati 2010-05-04 03:40:03 UTC
PATCH: http://patches.gluster.com/patch/3207 in master (structuring of protocol)

Comment 3 Anand Avati 2010-05-04 03:40:09 UTC
PATCH: http://patches.gluster.com/patch/3208 in master (structuring of protocol - 2)

Comment 4 Anand Avati 2010-05-04 03:40:13 UTC
PATCH: http://patches.gluster.com/patch/3209 in master (frame's 'op', 'type' restructured)

Comment 5 Anand Avati 2010-06-22 00:21:08 UTC
PATCH: http://patches.gluster.com/patch/3463 in master (renamed xlator/protocol to xlator/protocol/legacy)

Comment 6 Anand Avati 2010-06-22 00:21:12 UTC
PATCH: http://patches.gluster.com/patch/3470 in master (rpc protocol)

Comment 7 Anand Avati 2010-06-22 00:21:16 UTC
PATCH: http://patches.gluster.com/patch/3464 in master (make rpc protocol as default, and move the old one to legacy)

Comment 8 Anand Avati 2010-06-22 00:21:20 UTC
PATCH: http://patches.gluster.com/patch/3466 in master (misc updates in mainline)

Comment 9 Anand Avati 2010-06-24 14:32:10 UTC
PATCH: http://patches.gluster.com/patch/3475 in master (moved 'auth_glusterfs' xdr definitions to rpc-lib)

Comment 10 Anand Avati 2010-06-24 14:32:13 UTC
PATCH: http://patches.gluster.com/patch/3477 in master (minor improvements in protocol)

Comment 11 Anand Avati 2010-06-24 14:32:17 UTC
PATCH: http://patches.gluster.com/patch/3478 in master (change volume file options back to 'transport' from 'rpc-transport')

Comment 12 Anand Avati 2010-06-25 07:16:38 UTC
PATCH: http://patches.gluster.com/patch/3483 in master (added proper mem-types to GF_CALLOC in protocol)

Comment 13 Anand Avati 2010-06-25 07:16:42 UTC
PATCH: http://patches.gluster.com/patch/3485 in master (OS X: fix up rpc protocol)

Comment 14 Anand Avati 2010-06-29 02:20:49 UTC
PATCH: http://patches.gluster.com/patch/3492 in master (Move rpc to top-level)

Comment 15 Anand Avati 2010-07-01 07:31:50 UTC
PATCH: http://patches.gluster.com/patch/3500 in master (backward compatibility of protocol)

Comment 16 Anand Avati 2010-07-01 07:31:54 UTC
PATCH: http://patches.gluster.com/patch/3504 in master (minor fixes in rpc + protocol)

Comment 17 Anand Avati 2010-07-06 09:58:48 UTC
PATCH: http://patches.gluster.com/patch/3542 in master (avoid repeating code)

Comment 18 Anand Avati 2010-07-08 06:24:22 UTC
PATCH: http://patches.gluster.com/patch/3545 in master (assign proper 'fop' number to 'frame->root->op' on server side)

Comment 19 Anand Avati 2010-07-08 06:24:26 UTC
PATCH: http://patches.gluster.com/patch/3552 in master (make DUMP as another program)

Comment 20 Anand Avati 2010-07-14 19:02:53 UTC
PATCH: http://patches.gluster.com/patch/3620 in master (protocol/lib: rename files to standardized names and places)

Comment 21 Amar Tumballi 2010-07-15 04:25:26 UTC
This feature is already implemented, and is running fine in mainline. Will be closing this bug, and will open new bugs for specific issues as and when we find them..

Comment 22 Anand Avati 2010-07-28 09:08:29 UTC
PATCH: http://patches.gluster.com/patch/3949 in master (changes to rpc)

Comment 23 Anand Avati 2010-08-06 07:37:22 UTC
PATCH: http://patches.gluster.com/patch/3987 in master (rpc: changes to glusterfs programs that can take an optional payload argument.)

Comment 24 Anand Avati 2010-08-12 04:45:47 UTC
PATCH: http://patches.gluster.com/patch/4080 in master (fixed some backward compatibility issues)

Comment 25 Anand Avati 2010-08-16 06:16:32 UTC
PATCH: http://patches.gluster.com/patch/4148 in master (rpc: move handling of fragment headers to socket.)

Comment 26 Anand Avati 2010-08-18 04:37:06 UTC
PATCH: http://patches.gluster.com/patch/4171 in master (rpc - cleanup and changes related to rdma)

Comment 27 Anand Avati 2010-08-18 04:37:11 UTC
PATCH: http://patches.gluster.com/patch/4184 in master (rpc: add rpc_req structure to request_info structure, used by transport layer to get corresponding request to reply received.)

Comment 28 Anand Avati 2010-08-18 11:50:35 UTC
PATCH: http://patches.gluster.com/patch/4199 in master (rpcsvc: unref transport stored in request before putting request structure back to mem-pool.)

Comment 29 Anand Avati 2010-08-18 17:00:26 UTC
PATCH: http://patches.gluster.com/patch/4200 in master (rpcsvc: check for listener on default port used by mgmt (6969) while registering programs.)

Comment 30 Anand Avati 2010-08-19 13:50:35 UTC
PATCH: http://patches.gluster.com/patch/4216 in master (rpcsvc: decouple creation of listener from rpcsvc_program_register and rpcsvc_init.)

Comment 31 Vijay Bellur 2010-08-31 15:13:23 UTC
PATCH: http://patches.gluster.com/patch/4438 in master (rpc-transport/socket: use xdr_sizeof instead of sizeof when trying to read vectored request/reply)

Comment 32 Vijay Bellur 2010-09-06 13:37:34 UTC
PATCH: http://patches.gluster.com/patch/4579 in master (rpc-clnt: fix memory corruption happening while encoding auth data.)

Comment 33 Vijay Bellur 2010-09-07 12:42:33 UTC
PATCH: http://patches.gluster.com/patch/4630 in master (socket.c: more detailed info about mismatched msg type)

Comment 34 Vijay Bellur 2010-09-14 07:48:52 UTC
PATCH: http://patches.gluster.com/patch/4764 in master (glusterfs3.x file is updated with changes done to xdr.{h, c} files)

Comment 35 Vijay Bellur 2010-09-14 07:48:56 UTC
PATCH: http://patches.gluster.com/patch/4765 in master (glusterfs3.x: change gfid type to opaque)

Comment 36 Vijay Bellur 2010-09-14 07:49:00 UTC
PATCH: http://patches.gluster.com/patch/4766 in master (rpc: print xid of the rpcreq corresponding to frame being bailed out.)

Comment 37 Vijay Bellur 2010-09-20 12:13:36 UTC
PATCH: http://patches.gluster.com/patch/4873 in master (rpc-transport/socket: set keepalive socket option.)

Comment 38 Vijay Bellur 2010-09-22 12:09:31 UTC
PATCH: http://patches.gluster.com/patch/4929 in master (rpc/rpcsvc: add debug messages when rpc-messages are handed over to/from transport.)

Comment 39 Vijay Bellur 2010-09-24 07:53:54 UTC
PATCH: http://patches.gluster.com/patch/4949 in master (rpc-clnt: print frame-sent time till microsecond resolution in call_bail.)

Comment 40 Vijay Bellur 2010-10-01 07:41:24 UTC
PATCH: http://patches.gluster.com/patch/5138 in master (remove 'gfs_id' field from all protocol xdr structures)

Comment 41 Vijay Bellur 2010-10-04 06:44:05 UTC
PATCH: http://patches.gluster.com/patch/5217 in master (rpcsvc: bump log level of message for missing transport type)

Comment 42 Vijay Bellur 2010-10-07 02:17:16 UTC
PATCH: http://patches.gluster.com/patch/5314 in master (transport: set 'trans->options' before calling 'trans->init()')

Comment 43 Vijay Bellur 2010-10-08 13:16:28 UTC
PATCH: http://patches.gluster.com/patch/5372 in master (rpc-clnt: do rpc_transport_destroy() in rpc_clnt_destroy())

Comment 44 Vijay Bellur 2010-10-12 05:39:52 UTC
PATCH: http://patches.gluster.com/patch/5465 in master (rpcsvc: calculate dump response length instead of hard coding it.)

Comment 45 Anand Avati 2010-10-25 02:43:13 UTC
PATCH: http://patches.gluster.com/patch/5509 in master (server: print information about disconnected client)

Comment 46 Anand Avati 2010-10-25 02:43:18 UTC
PATCH: http://patches.gluster.com/patch/5495 in master (client: decrement the 'openfd' count in case of opendir_cbk too)

Comment 47 Anand Avati 2010-10-25 02:43:23 UTC
PATCH: http://patches.gluster.com/patch/5496 in master (client: move reopen{,dir} code to handshake file)

Comment 48 Anand Avati 2010-10-27 08:13:37 UTC
PATCH: http://patches.gluster.com/patch/5550 in master (added a test script to test rpc procedures)

Comment 49 Anand Avati 2010-11-08 07:08:40 UTC
PATCH: http://patches.gluster.com/patch/5644 in master (protocol/server: array declarations changed to alloca())

Comment 50 Anand Avati 2010-11-24 05:33:28 UTC
PATCH: http://patches.gluster.com/patch/5749 in master (rpc-coverage.sh: enhancements for more extensive testing)

Comment 51 Anand Avati 2010-11-25 05:34:06 UTC
PATCH: http://patches.gluster.com/patch/5777 in master (rpc-coverage.sh: Make error messages explicit.)

Comment 52 Anand Avati 2010-12-07 03:19:03 UTC
PATCH: http://patches.gluster.com/patch/5821 in master (rpc-clnt: show disconnect messages in log file by default)

Comment 53 Anand Avati 2010-12-10 07:51:16 UTC
PATCH: http://patches.gluster.com/patch/5847 in master (protocol: avoid repetitive disconnect logs)

Comment 54 Anand Avati 2010-12-13 01:07:54 UTC
PATCH: http://patches.gluster.com/patch/5856 in master (client-reopen-cbk: fix a gf_log() crash due to wrong argument list)

Comment 55 Anand Avati 2010-12-28 01:51:14 UTC
PATCH: http://patches.gluster.com/patch/5918 in master (rdma : prevent confusing logs when both 'poll_in' and 'poll_err' are received.)

Comment 56 Amar Tumballi 2011-02-15 04:45:26 UTC
We need to mention that with 3.1.x release (from 3.1.0 release on-wards), RPC (remote procedure call) support is added. Earlier GlusterFS had its own protocol.

Comment 57 Divya 2011-03-29 06:29:50 UTC
Added the details (http://gluster.qotd.co/q/does-glusterfs-3-1-has-backward-compatibility/) in Gluster QOTD.


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