Description of problem: Some of the function should have more description or information about files on which a fop failed. r.log:404102:[2018-07-23 22:04:13.041491] W [MSGID: 122040] [ec-common.c:990:ec_prepare_update_cbk] 0-vol01-disperse-1: Failed to get size and version [Input/output error] [2018-07-23 22:04:13.044413] W [MSGID: 122040] [ec-common.c:990:ec_prepare_update_cbk] 0-vol01-disperse-1: Failed to get size and version [Input/output error] [2018-07-23 22:04:13.044637] E [MSGID: 122037] [ec-common.c:1914:ec_update_size_version_done] 0-vol01-disperse-1: Failed to update version and size [Input/output error] [2018-07-23 22:05:14.925594] W [MSGID: 122040] [ec-common.c:990:ec_prepare_update_cbk] 0-vol01-disperse-1: Failed to get size and version [Input/output error] Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
In this case, it should provide for which file/gfid it has failed. Example : [2018-07-23 22:05:14.925594] W [MSGID: 122040] [ec-common.c:990:ec_prepare_update_cbk] 0-vol01-disperse-1: Failed to get size and version [Input/output error] gfid : XXXXXXXXXXX or [2018-07-23 22:05:14.925594] W [MSGID: 122040] [ec-common.c:990:ec_prepare_update_cbk] 0-vol01-disperse-1: Failed to get size and version [Input/output error] loc: YYYYYYYYYYY
REVIEW: https://review.gluster.org/21061 (cluster/ec: Improve logging for some critical error messages) posted (#1) for review on master by Ashish Pandey
COMMIT: https://review.gluster.org/21061 committed in master by "Xavi Hernandez" <xhernandez> with a commit message- cluster/ec: Improve logging for some critical error messages Change-Id: I037e52a3467467b81a1ba5416317870864060d4d updates: bz#1615703 Signed-off-by: Ashish Pandey <aspandey>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-5.0, please open a new bug report. glusterfs-5.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] https://lists.gluster.org/pipermail/announce/2018-October/000115.html [2] https://www.gluster.org/pipermail/gluster-users/