Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1515748 - Callbacks should be sent to only those clients which register for upcall events
Summary: Callbacks should be sent to only those clients which register for upcall events
Keywords:
Status: POST
Alias: None
Product: GlusterFS
Classification: Community
Component: upcall
Version: mainline
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Soumya Koduri
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-21 10:00 UTC by Soumya Koduri
Modified: 2017-11-27 12:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Soumya Koduri 2017-11-21 10:00:26 UTC
Description of problem:

Currently, the callbacks, when generated, are sent to all the clients irrespective of whether they are interested or not. This needs to be addressed. 

We can make use of IPC fop to notify upcall xlator whenever an application/clients starts polling or registers for upcall events.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2017-11-27 11:27:05 UTC
REVIEW: https://review.gluster.org/18863 (IPC: Add new IPC op to register/unregister upcall) posted (#1) for review on master by soumya k

Comment 2 Worker Ant 2017-11-27 11:27:55 UTC
REVIEW: https://review.gluster.org/18864 (md-cache: Use new IPC op to register/unreigster upcall) posted (#1) for review on master by soumya k

Comment 3 Worker Ant 2017-11-27 11:28:56 UTC
REVIEW: https://review.gluster.org/18866 (Upcall: Allow clients to register for cache-invalidation event) posted (#1) for review on master by soumya k

Comment 4 Worker Ant 2017-11-27 11:29:30 UTC
REVIEW: https://review.gluster.org/18865 (gfapi: Use new IPC op to register/unregister upcall event) posted (#1) for review on master by soumya k


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