-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing files from kickstart indexes [RHELDST-22387]
RHELDST-22148 introduced the concept of a partial autoindex, which is triggered as soon as entry points are added onto a publish without waiting until commit. This introduced a problem for kickstart repos. The problem is that a kickstart repo is simultaneously a valid yum repo, containing both yum and kickstart entrypoints. There is no guarantee in which order the client will add these onto a publish. If the client added yum repodata first, partial autoindex could be triggered and successfully parse the repo as a yum repo (only). If the client then later added kickstart repodata, the autoindex would not be regenerated to include kickstart files, because the index is treated as immutable and assumed valid if it already exists on the publish. This commit fixes the problem by effectively disabling partial autoindex for kickstart repos, allowing them to instead generate indexes at commit time as it worked originally. This can be considered more of a workaround than a proper fix. A better fix might be done later to make autoindex_partial work correctly for kickstart repos rather than disabling it.
- Loading branch information
Showing
3 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters