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

Issue 538993002: Make git cache delete a defunct directory instead of moving it (Closed)

Created:
6 years, 3 months ago by hinoka
Modified:
6 years, 3 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Project:
tools
Visibility:
Public.

Description

Make git cache delete a defunct directory instead of moving it So the original intention of moving it to a different directory to be deleted later was to (1) save it for diagnosis (2) be a single inode swap rather than a long rmtree delete. 1. No one is actually looking at these directories 2. The tmpdir sometimes end up on a different partition, so it ends up being a copy + delete instead. Since we're not getting timeouts from that, its probably actually better to just straight up delete it. BUG=410727 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=291818

Patch Set 1 #

Patch Set 2 : lint #

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

Messages

Total messages: 14 (5 generated)
Ryan Tseng
6 years, 3 months ago (2014-09-04 10:08:15 UTC) #2
Michael Achenbach
lgtm
6 years, 3 months ago (2014-09-04 10:16:49 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hinoka@chromium.org/538993002/1
6 years, 3 months ago (2014-09-04 10:23:52 UTC) #5
commit-bot: I haz the power
Presubmit check for 538993002-1 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 3 months ago (2014-09-04 10:25:44 UTC) #7
Ryan Tseng
aaron: can you stamp?
6 years, 3 months ago (2014-09-04 13:18:58 UTC) #8
iannucci
lgtm
6 years, 3 months ago (2014-09-04 20:22:47 UTC) #10
Michael Achenbach
Can this land? I've still trouble with a slave that often runs out of disc ...
6 years, 3 months ago (2014-09-05 10:22:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hinoka@chromium.org/538993002/20001
6 years, 3 months ago (2014-09-05 11:08:42 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-05 11:10:37 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 291818

Powered by Google App Engine
This is Rietveld 408576698