Bug 1496418

Summary: RFE: Auth/Addr: Provide option to storage parsed values from config, instead of parsing in every handshake.
Product: [Community] GlusterFS Reporter: Amar Tumballi <atumball>
Component: protocolAssignee: bugs <bugs>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: bugs, vbellur
Target Milestone: ---Keywords: EasyFix, FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-19 05:20:09 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 Amar Tumballi 2017-09-27 11:23:57 UTC
Description of problem:
As of now, Gluster's Authentication module is designed to handle the handshake with information from 'options' dictionary. In case auth.allow has multiple values as comma separated fields, for every handshake, we will have to parse the string again. Instead if there is 'init()' option where auth layer can have a their own private structure allocated, and configured only once, would be great to 'handshake' performance. Which happens after every connect.

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

How reproducible:
100%

Comment 1 Vijay Bellur 2018-11-19 05:25:03 UTC
Migrated to github:

https://github.com/gluster/glusterfs/issues/583

Please follow the github issue for further updates on this bug.