[Bugs] [Bug 1622549] New: libgfchangelog: History API fails
bugzilla at redhat.com
bugzilla at redhat.com
Mon Aug 27 12:47:26 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1622549
Bug ID: 1622549
Summary: libgfchangelog: History API fails
Product: GlusterFS
Version: mainline
Component: changelog
Assignee: bugs at gluster.org
Reporter: khiremat at redhat.com
CC: bugs at gluster.org
Created attachment 1478943
--> https://bugzilla.redhat.com/attachment.cgi?id=1478943&action=edit
Sample C program which call history API
Description of problem:
If requested start time and end time doesn't fall into
first HTIME file, then history API fails even though
continuous changelogs are avaiable for the requested range
in other HTIME files. This is induced by changelog disable
and enable which creates fresh HTIME index file.
Version-Release number of selected component (if applicable):
mainline
How reproducible:
Always
Steps to Reproduce:
1. Setup gluster volume and let the I/O happen
2. Enable changelog
3. sleep for some time
4. Disable changelog
5. sleep for sometime
6. Enable changelog
7. Use the sample c program attached to query history API with start time after
step 6
Actual results:
History fails
Expected results:
History API should not fail if continuous changelogs are available even if it's
second HTIME file.
Additional info:
--
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