Project

General

Profile

Actions

Bug #14726

closed

teuthology-worker: lock on git repo serializes worker start up

Added by Josh Durgin about 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Core
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Before grabbing any jobs from the queue, teuthology-worker tries to update the local teuthology.git and ceph-qa-suite.git checkouts.

When starting tens or hundreds of workers, this ends up being a significant bottleneck, since only one worker can update the repo at a time. Perhaps the repos could be updated only if their .git directory had an mtime older than some time period, e.g. 10 minutes.

Actions #1

Updated by Zack Cerza over 7 years ago

  • Status changed from New to Resolved
  • Assignee set to Zack Cerza
Actions

Also available in: Atom PDF