|
|
Created:
4 years, 3 months ago by bcwhite Modified:
4 years, 3 months ago Reviewers:
Alexei Svitkine (slow) CC:
chromium-reviews, asvitkine+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionFix problem with persistent histograms getting ID of zero.
1) Create persistent histogram records in an atomic manner
so there are no half-filled entries left around should the
process crash before it completes.
2) Validate the ID is non-zero before trying to access a
histogram from persistent storage.
BUG=649371
Committed: https://crrev.com/3027c932f1a8f52dfbc23b9a86ebfb1714aa8c87
Cr-Commit-Position: refs/heads/master@{#420654}
Patch Set 1 #Patch Set 2 : fix signed/unsigned comparison #
Total comments: 2
Patch Set 3 : added comment about metadata check #Messages
Total messages: 26 (16 generated)
The CQ bit was checked by bcwhite@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full committers or once the patch has received an L-G-T-M from a full committer. Even if an L-G-T-M may have been provided, it was from a non-committer, _not_ a full super star committer. See http://www.chromium.org/getting-involved/become-a-committer Note that this has nothing to do with OWNERS files.
The CQ bit was checked by bcwhite@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linu...)
The CQ bit was checked by bcwhite@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
bcwhite@chromium.org changed reviewers: + asvitkine@chromium.org
LGTM % comment https://codereview.chromium.org/2367503002/diff/20001/base/metrics/persistent... File base/metrics/persistent_histogram_allocator.cc (right): https://codereview.chromium.org/2367503002/diff/20001/base/metrics/persistent... base/metrics/persistent_histogram_allocator.cc:282: histogram_data->samples_metadata.id == 0 || Can you expand comment for |id| field in Metadata to mention what special case of 0 means?
https://codereview.chromium.org/2367503002/diff/20001/base/metrics/persistent... File base/metrics/persistent_histogram_allocator.cc (right): https://codereview.chromium.org/2367503002/diff/20001/base/metrics/persistent... base/metrics/persistent_histogram_allocator.cc:282: histogram_data->samples_metadata.id == 0 || On 2016/09/23 14:03:06, Alexei Svitkine (very slow) wrote: > Can you expand comment for |id| field in Metadata to mention what special case > of 0 means? Done.
The CQ bit was checked by bcwhite@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from asvitkine@chromium.org Link to the patchset: https://codereview.chromium.org/2367503002/#ps40001 (title: "added comment about metadata check")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)
The CQ bit was checked by bcwhite@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Fix problem with persistent histograms getting ID of zero. 1) Create persistent histogram records in an atomic manner so there are no half-filled entries left around should the process crash before it completes. 2) Validate the ID is non-zero before trying to access a histogram from persistent storage. BUG=649371 ========== to ========== Fix problem with persistent histograms getting ID of zero. 1) Create persistent histogram records in an atomic manner so there are no half-filled entries left around should the process crash before it completes. 2) Validate the ID is non-zero before trying to access a histogram from persistent storage. BUG=649371 Committed: https://crrev.com/3027c932f1a8f52dfbc23b9a86ebfb1714aa8c87 Cr-Commit-Position: refs/heads/master@{#420654} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/3027c932f1a8f52dfbc23b9a86ebfb1714aa8c87 Cr-Commit-Position: refs/heads/master@{#420654} |