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

Issue 716943003: Fix bug in forwarder pid file writing. (Closed)

Created:
6 years, 1 month ago by tonyg
Modified:
6 years, 1 month ago
Reviewers:
jbudorick
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org, dtu
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix bug in forwarder pid file writing. If we write a shorter creation time than previously, we have to truncate the file, otherwise the pid will never match. This happens in the case of rounding. For example: 1415754511.099 1415754511.09 Found this with Dave Tu's help. BUG=421249, 294878 Committed: https://crrev.com/9d145aaa93ef3142508635858904102784d0ba5f Cr-Commit-Position: refs/heads/master@{#303843}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M build/android/pylib/forwarder.py View 1 chunk +1 line, -0 lines 2 comments Download

Messages

Total messages: 12 (2 generated)
tonyg
6 years, 1 month ago (2014-11-12 01:27:43 UTC) #2
jbudorick
Nice catch between the two of you. https://codereview.chromium.org/716943003/diff/1/build/android/pylib/forwarder.py File build/android/pylib/forwarder.py (right): https://codereview.chromium.org/716943003/diff/1/build/android/pylib/forwarder.py#newcode273 build/android/pylib/forwarder.py:273: pid_file.truncate() Is ...
6 years, 1 month ago (2014-11-12 02:01:34 UTC) #3
jbudorick
https://codereview.chromium.org/716943003/diff/1/build/android/pylib/forwarder.py File build/android/pylib/forwarder.py (right): https://codereview.chromium.org/716943003/diff/1/build/android/pylib/forwarder.py#newcode273 build/android/pylib/forwarder.py:273: pid_file.truncate() On 2014/11/12 02:01:33, jbudorick wrote: > Is this ...
6 years, 1 month ago (2014-11-12 02:03:33 UTC) #4
tonyg
On 2014/11/12 02:03:33, jbudorick wrote: > https://codereview.chromium.org/716943003/diff/1/build/android/pylib/forwarder.py > File build/android/pylib/forwarder.py (right): > > https://codereview.chromium.org/716943003/diff/1/build/android/pylib/forwarder.py#newcode273 > ...
6 years, 1 month ago (2014-11-12 02:35:09 UTC) #5
jbudorick
On 2014/11/12 02:35:09, tonyg wrote: > On 2014/11/12 02:03:33, jbudorick wrote: > > > https://codereview.chromium.org/716943003/diff/1/build/android/pylib/forwarder.py ...
6 years, 1 month ago (2014-11-12 02:39:02 UTC) #6
tonyg
On 2014/11/12 02:39:02, jbudorick wrote: > On 2014/11/12 02:35:09, tonyg wrote: > > On 2014/11/12 ...
6 years, 1 month ago (2014-11-12 02:44:07 UTC) #7
jbudorick
On 2014/11/12 02:44:07, tonyg wrote: > On 2014/11/12 02:39:02, jbudorick wrote: > > On 2014/11/12 ...
6 years, 1 month ago (2014-11-12 15:03:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/716943003/1
6 years, 1 month ago (2014-11-12 15:41:25 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 1 month ago (2014-11-12 16:47:10 UTC) #11
commit-bot: I haz the power
6 years, 1 month ago (2014-11-12 16:48:03 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9d145aaa93ef3142508635858904102784d0ba5f
Cr-Commit-Position: refs/heads/master@{#303843}

Powered by Google App Engine
This is Rietveld 408576698