[Bugs] [Bug 1627639] libgfchangelog: History API fails

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 24 06:35:08 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1627639

Kotresh HR <khiremat at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Doc Type|If docs needed, set a value |Bug Fix


--- Doc Text *updated* ---
Cause: 
Each HTIME index file represents the availability of continuous changelogs. If changelog is disabled and enabled, a new HTIME index file is created representing non availability of continuous changelogs. So as long as the requested start and end falls into single HTIME index file and not across, history API should succeed.

But History API checks for the changelogs only in first HTIME index file and errors out if not available.


Consequence: 
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.

Fix: 
Check in all HTIME index files for availability of continuous changelogs for requested change.

Result:
History API doesn't fail with multiple HTIME files.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=cfXlRJaiEX&a=cc_unsubscribe


More information about the Bugs mailing list