Bug 1083287 - [RFE][PATCH] Add locking around yum operations
Summary: [RFE][PATCH] Add locking around yum operations
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pungi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-01 20:03 UTC by Ralph Bean
Modified: 2014-07-16 15:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-16 15:44:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Simple improvement to logging (1.89 KB, patch)
2014-04-01 20:04 UTC, Ralph Bean
no flags Details | Diff
Use a lockfile around things that modify the cachedir (8.10 KB, patch)
2014-04-01 20:05 UTC, Ralph Bean
no flags Details | Diff

Description Ralph Bean 2014-04-01 20:03:54 UTC
pungi cannot be run in parallel if the different instances share a cachedir.  the two instances will try to compete at downloading srpms and stomp all over each other.

This patch introduces some file locking on the cachedir which should get us closer to being able to run them in parallel.

Comment 1 Ralph Bean 2014-04-01 20:04:21 UTC
Created attachment 881515 [details]
Simple improvement to logging

Comment 2 Ralph Bean 2014-04-01 20:05:08 UTC
Created attachment 881516 [details]
Use a lockfile around things that modify the cachedir

Comment 3 Dennis Gilmore 2014-04-29 18:51:55 UTC
applied both to git thanks

Comment 4 Ralph Bean 2014-07-16 04:17:28 UTC
Can this be closed?

Comment 5 Ralph Bean 2014-07-16 15:44:56 UTC
I think so.  Looks like there was a release since it was merged.


Note You need to log in before you can comment on or make changes to this bug.