Skip to content

Commit

Permalink
Merge pull request Ericsson#674 from bruntib/fix_race_condition
Browse files Browse the repository at this point in the history
Fixing a race condition problem in store
  • Loading branch information
gyorb authored Jun 23, 2017
2 parents 3c4f7e8 + 8f17d61 commit 55188a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libcodechecker/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,11 @@ def main(args):
connection.add_skip_paths(context.run_id,
skip_handler.get_skiplist())

# TODO: This is a hotfix for a data race problem in storage.
# Currently removal of build actions is based on plist files which lack
# build command that is needed for unambiguous deletion.
args.jobs = 1

pool = multiprocessing.Pool(args.jobs)

try:
Expand Down

0 comments on commit 55188a9

Please sign in to comment.