Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Issue 1785083005: Set default --lock_timeout to 5m (Closed)

Created:
4 years, 9 months ago by nodir
Modified:
4 years, 9 months ago
Reviewers:
hinoka
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Set default --lock_timeout to 5m gclient-sync + git-cache are racy because if two different DEPS files dependent on the same repo URL, even if depsed to different checkout dirs, they use same git cache dir. If both checkout dirs are synced at the same time, one of them cannot acquire a lock. This is a cheap solution to change --lock_timeout option default value from 0 to 5m. R=hinoka@chromium.org BUG=593468 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299386

Patch Set 1 #

Total comments: 2

Patch Set 2 : updated comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -4 lines) Patch
M gclient.py View 1 chunk +2 lines, -2 lines 0 comments Download
M git_cache.py View 1 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1785083005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1785083005/1
4 years, 9 months ago (2016-03-12 00:56:31 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-12 00:59:22 UTC) #4
nodir
PTAL
4 years, 9 months ago (2016-03-12 01:01:58 UTC) #5
hinoka
lgtm https://codereview.chromium.org/1785083005/diff/1/git_cache.py File git_cache.py (right): https://codereview.chromium.org/1785083005/diff/1/git_cache.py#newcode96 git_cache.py:96: If self.timeout is zero, this is a NON-BLOCKING ...
4 years, 9 months ago (2016-03-14 09:38:19 UTC) #6
nodir
https://codereview.chromium.org/1785083005/diff/1/git_cache.py File git_cache.py (right): https://codereview.chromium.org/1785083005/diff/1/git_cache.py#newcode96 git_cache.py:96: If self.timeout is zero, this is a NON-BLOCKING FAIL-FAST ...
4 years, 9 months ago (2016-03-18 20:25:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1785083005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1785083005/20001
4 years, 9 months ago (2016-03-18 20:25:23 UTC) #10
commit-bot: I haz the power
4 years, 9 months ago (2016-03-18 20:27:55 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=299386

Powered by Google App Engine
This is Rietveld 408576698