Ramachandra Reddy Ankireddypalle
2015-Nov-11 16:52 UTC
[Gluster-users] gfapi async write dropping requests
Hi, I am trying to write data using libgfapi async write. The write returns successful and call back is also getting invoked. But some of the data is not making it to gluster volume. If I put a sleep in the code after each write then all the writes are making it to the gluster volume. This makes me feel that libgfapi is dropping some of the requests. Thanks and Regards, rcr. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20151111/adefd375/attachment.html>
On Wednesday 11 November 2015 10:22 PM, Ramachandra Reddy Ankireddypalle wrote:> Hi, > I am trying to write data using libgfapi async write. The write > returns successful and call back is also getting invoked. But some of > the data is not making it to gluster volume. If I put a sleep in the > code after each write then all the writes are making it to the gluster > volume. This makes me feel that libgfapi is dropping some of the requests. >This could be related to write-behind in gluster. If you disable write-behind for the volume, do you observe similar results? Regards, Vijay
On Wed, Nov 11, 2015 at 11:52:14AM -0500, Ramachandra Reddy Ankireddypalle wrote:> Hi, > I am trying to write data using libgfapi async write. The write > returns successful and call back is also getting invoked. But some of the > data is not making it to gluster volume. If I put a sleep in the code after > each write then all the writes are making it to the gluster volume. This > makes me feel that libgfapi is dropping some of the requests.How do you check if the writes made it to the volume? Are you reading on a different client over a fuse mount point, or something else? Thanks, Niels> > Thanks and Regards, > rcr.> _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20151111/070205e8/attachment.sig>