summaryrefslogtreecommitdiffstats
path: root/tests/utils/changelog/changelog.h
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add history api testsKotresh HR2019-05-271-0/+6
| | | | | | updates: bz#1193929 Change-Id: Ic26ab5277f720c734f083150c1c541763dfa64aa Signed-off-by: Kotresh HR <khiremat@redhat.com>
* Land clang-format changesGluster Ant2018-09-121-54/+53
| | | | Change-Id: I6f5d8140a06f3c1b2d196849299f8d483028d33b
* libgfchangelog: Fix changelog history APIKotresh HR2018-08-311-0/+120
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. Cause and Analysis: Each HTIME index file represents the availability of continuous changelogs. If changelog is disabled and enabled, a new HTIME index file is created represents 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. Fix: Check in all HTIME index files for availability of continuous changelogs for requested change. fixes: bz#1622549 Change-Id: I80eeceb5afbd1b89f86a9dc4c320e161907d3559 Signed-off-by: Kotresh HR <khiremat@redhat.com>