[Bugs] [Bug 1365879] New: [libgfchangelog]: If changelogs are not available for the requested time range, no proper error message
bugzilla at redhat.com
bugzilla at redhat.com
Wed Aug 10 12:00:28 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1365879
Bug ID: 1365879
Summary: [libgfchangelog]: If changelogs are not available for
the requested time range, no proper error message
Product: GlusterFS
Version: 3.8.0
Component: changelog
Assignee: bugs at gluster.org
Reporter: khiremat at redhat.com
CC: avishwan at redhat.com, bugs at gluster.org
Depends On: 1362151, 1365877
Blocks: 1364422
+++ This bug was initially created as a clone of Bug #1365877 +++
Description of problem:
If changelogs are not available for the requested time range, no proper error
message is displayed. It just fails. If start time is less than min changelog
available time, then history changelog fails with -1 as any failure and no
error message is printed. Distinguishing this error will be helpful for
the consumers to act upon it.
For example, geo-replication upon receiving this error would fallback to
xsync.
Version-Release number of selected component (if applicable):
mainline
How reproducible:
Always
Steps to Reproduce: (For simplicity consider plain distribute setup)
This is not simple to reproduce. It might hit during replace brick scencarios.
1. Setup geo-rep between master and slave
2. Before geo-rep syncs all data from master to slave, replace the brick from
master and write new data on master.
3. Now the replaced brick's min changelog available is much later than the
stime (sync time) corresponding to this brick.
4. When geo-rep is started after replace brick, it would hit above case.
Actual results:
When start time is less than min available changelog, histor fails with -1 and
error is not logged.
Expected results:
It should distinguish the above error, log it and fail.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1362151
[Bug 1362151] [libgfchangelog]: If changelogs are not available for the
requested time range, no proper error message
https://bugzilla.redhat.com/show_bug.cgi?id=1364422
[Bug 1364422] [libgfchangelog]: If changelogs are not available for the
requested time range, no distinguished error
https://bugzilla.redhat.com/show_bug.cgi?id=1365877
[Bug 1365877] [libgfchangelog]: If changelogs are not available for the
requested time range, no proper error message
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list