[tracing] Move payload to a different table in trace reports [chromium/src : main]

0 views
Skip to first unread message

Etienne Pierre-Doray (Gerrit)

unread,
Nov 27, 2025, 1:20:44 PMNov 27
to Etienne Bergeron, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Etienne Bergeron

Etienne Pierre-Doray added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Etienne Pierre-Doray . resolved

PTAL

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Bergeron
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia95f0c77869e4f4bfe9dd25cd50df76383bbf5e3
Gerrit-Change-Number: 7205194
Gerrit-PatchSet: 1
Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Etienne Bergeron <etie...@chromium.org>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Attention: Etienne Bergeron <etie...@chromium.org>
Gerrit-Comment-Date: Thu, 27 Nov 2025 18:20:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Etienne Bergeron (Gerrit)

unread,
Dec 5, 2025, 2:52:37 AMDec 5
to Etienne Pierre-Doray, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Etienne Pierre-Doray

Etienne Bergeron added 9 comments

File content/browser/tracing/trace_report_database.cc
Line 156, Patchset 2 (Latest): if (!database_.DoesTableExist(kLocalTracesIndexTableName)) {
Etienne Bergeron . unresolved

You can combine these two if-statements.

Line 199, Patchset 2 (Latest): if (!create_index_entry.Run()) {
Etienne Bergeron . unresolved

Since you have two Run statement, would it be better to have a transaction around it? This will ensure that if one statement fails, both fails.

```
sql::Transaction transaction(&database_);
if (!transaction.Begin()) return false;
[...]
stm1.Run();
stm2.Run();

return transaction.Commit();
```

Line 207, Patchset 2 (Latest): database_.GetCachedStatement(SQL_FROM_HERE, R"sql(
Etienne Bergeron . unresolved

recommendation for the format is here:
https://chromium.googlesource.com/chromium/src/+/HEAD/sql/README.md#SQL-style

The current format have heading spaces which will be forbidden by the style guide soon.

Line 213, Patchset 2 (Latest): create_payload.BindBlob(1, new_report.trace_content);
Etienne Bergeron . unresolved

If this is big (and performance matters), you should use the Blob streaming API.

If it's big and performance don't matters, leave it that way.

Example here:
https://source.chromium.org/chromium/chromium/src/+/main:components/persistent_cache/sqlite/sqlite_backend_impl.cc;l=290

Line 226, Patchset 2 (Latest): UPDATE local_traces_index
Etienne Bergeron . unresolved

Ditto for style

Line 306, Patchset 2 (Latest): std::string received_value = get_content.ColumnString(0);
Etienne Bergeron . unresolved

Here again, potentially using streaming API.
See "Find" in the same file linked above.

Line 430, Patchset 2 (Latest): DELETE FROM local_traces_payloads
Etienne Bergeron . unresolved

ditto for style (all of them)

Line 586, Patchset 2 (Latest):
Etienne Bergeron . unresolved

Start a transaction here

Line 621, Patchset 2 (Latest): return initialized_;
Etienne Bergeron . unresolved

return initialized_ && Transaction.Commit()

This will ensures that not half of a migration / cleanup is done.
it's the recommended practice.

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Pierre-Doray
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ia95f0c77869e4f4bfe9dd25cd50df76383bbf5e3
    Gerrit-Change-Number: 7205194
    Gerrit-PatchSet: 2
    Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-Reviewer: Etienne Bergeron <etie...@chromium.org>
    Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
    Gerrit-Comment-Date: Fri, 05 Dec 2025 07:52:30 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Etienne Pierre-Doray (Gerrit)

    unread,
    Dec 9, 2025, 9:55:18 AM (11 days ago) Dec 9
    to Anthony Vallée-Dubois, Code Review Nudger, Etienne Bergeron, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
    Attention needed from Anthony Vallée-Dubois and Etienne Bergeron

    Etienne Pierre-Doray added 10 comments

    Patchset-level comments
    File-level comment, Patchset 3 (Latest):
    Etienne Pierre-Doray . resolved

    +anthonyvd@ since etienneb is OOO

    File content/browser/tracing/trace_report_database.cc
    Line 156, Patchset 2: if (!database_.DoesTableExist(kLocalTracesIndexTableName)) {
    Etienne Bergeron . resolved

    You can combine these two if-statements.

    Etienne Pierre-Doray

    Done

    Line 199, Patchset 2: if (!create_index_entry.Run()) {
    Etienne Bergeron . resolved

    Since you have two Run statement, would it be better to have a transaction around it? This will ensure that if one statement fails, both fails.

    ```
    sql::Transaction transaction(&database_);
    if (!transaction.Begin()) return false;
    [...]
    stm1.Run();
    stm2.Run();

    return transaction.Commit();
    ```

    Etienne Pierre-Doray

    Done

    Line 207, Patchset 2: database_.GetCachedStatement(SQL_FROM_HERE, R"sql(
    Etienne Bergeron . resolved

    recommendation for the format is here:
    https://chromium.googlesource.com/chromium/src/+/HEAD/sql/README.md#SQL-style

    The current format have heading spaces which will be forbidden by the style guide soon.

    Etienne Pierre-Doray

    Done

    Line 213, Patchset 2: create_payload.BindBlob(1, new_report.trace_content);
    Etienne Bergeron . resolved

    If this is big (and performance matters), you should use the Blob streaming API.

    If it's big and performance don't matters, leave it that way.

    Example here:
    https://source.chromium.org/chromium/chromium/src/+/main:components/persistent_cache/sqlite/sqlite_backend_impl.cc;l=290

    Etienne Pierre-Doray

    I'll do this as a folow-up (since this isn't the bottleneck being fixed here)

    Line 226, Patchset 2: UPDATE local_traces_index
    Etienne Bergeron . resolved

    Ditto for style

    Etienne Pierre-Doray

    Done

    Line 306, Patchset 2: std::string received_value = get_content.ColumnString(0);
    Etienne Bergeron . resolved

    Here again, potentially using streaming API.
    See "Find" in the same file linked above.

    Etienne Pierre-Doray

    I'll do this as a folow-up (since this isn't the bottleneck being fixed here)

    Line 430, Patchset 2: DELETE FROM local_traces_payloads
    Etienne Bergeron . resolved

    ditto for style (all of them)

    Etienne Pierre-Doray

    Done

    Line 586, Patchset 2:
    Etienne Bergeron . resolved

    Start a transaction here

    Etienne Pierre-Doray

    Done

    Line 621, Patchset 2: return initialized_;
    Etienne Bergeron . resolved

    return initialized_ && Transaction.Commit()

    This will ensures that not half of a migration / cleanup is done.
    it's the recommended practice.

    Etienne Pierre-Doray

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Anthony Vallée-Dubois
    • Etienne Bergeron
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Ia95f0c77869e4f4bfe9dd25cd50df76383bbf5e3
      Gerrit-Change-Number: 7205194
      Gerrit-PatchSet: 3
      Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-Reviewer: Anthony Vallée-Dubois <anth...@chromium.org>
      Gerrit-Reviewer: Etienne Bergeron <etie...@chromium.org>
      Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-Attention: Etienne Bergeron <etie...@chromium.org>
      Gerrit-Attention: Anthony Vallée-Dubois <anth...@chromium.org>
      Gerrit-Comment-Date: Tue, 09 Dec 2025 14:55:10 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Etienne Bergeron <etie...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Anthony Vallée-Dubois (Gerrit)

      unread,
      Dec 9, 2025, 1:26:11 PM (11 days ago) Dec 9
      to Etienne Pierre-Doray, Code Review Nudger, Etienne Bergeron, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
      Attention needed from Etienne Bergeron and Etienne Pierre-Doray

      Anthony Vallée-Dubois added 6 comments

      Commit Message
      Line 13, Patchset 3 (Latest):
      Anthony Vallée-Dubois . unresolved

      Got a bug to assign here for tracking?

      File content/browser/tracing/trace_report_database.cc
      Line 84, Patchset 3 (Latest): "uuid TEXT PRIMARY KEY NOT NULL,"
      Anthony Vallée-Dubois . unresolved

      Any reason why there's no FK constraint between this ID and the PK in the index table?

      Line 373, Patchset 3 (Latest): SQL_FROM_HERE, "DELETE FROM local_traces_payloads WHERE uuid=?"));
      Anthony Vallée-Dubois . unresolved

      An FK constraint on the uuid with a `ON DELETE CASCADE` clause would remove the need for this separate statement. If done this way, don't we need to wrap the 2 statements in a transaction too?

      Line 649, Patchset 3 (Latest): if (!database_.Raze()) {
      Anthony Vallée-Dubois . unresolved

      I remember Etienne mentioning Raze() being really problematic, but I'm not sure what the proper way to handle this is if it isn't Raze. Maybe jpgravel@ knows.

      Line 662, Patchset 3 (Latest): if (!database_.Execute("DROP TABLE local_traces IF EXISTS")) {
      Anthony Vallée-Dubois . unresolved

      Are we OK with losing previous data (not migrating it) during this upgrade?

      Line 685, Patchset 3 (Latest): "DELETE FROM local_traces_payloads "
      Anthony Vallée-Dubois . unresolved

      Same comment re: FK + ON DELETE CASCADE making this function redundant.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Etienne Bergeron
      • Etienne Pierre-Doray
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ia95f0c77869e4f4bfe9dd25cd50df76383bbf5e3
        Gerrit-Change-Number: 7205194
        Gerrit-PatchSet: 3
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Anthony Vallée-Dubois <anth...@chromium.org>
        Gerrit-Reviewer: Etienne Bergeron <etie...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
        Gerrit-Attention: Etienne Bergeron <etie...@chromium.org>
        Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Comment-Date: Tue, 09 Dec 2025 18:26:04 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Etienne Pierre-Doray (Gerrit)

        unread,
        Dec 9, 2025, 2:43:18 PM (11 days ago) Dec 9
        to Jean-Philippe Gravel, Anthony Vallée-Dubois, Code Review Nudger, Etienne Bergeron, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Anthony Vallée-Dubois, Etienne Bergeron and Jean-Philippe Gravel

        Etienne Pierre-Doray added 5 comments

        File content/browser/tracing/trace_report_database.cc
        Line 84, Patchset 3: "uuid TEXT PRIMARY KEY NOT NULL,"
        Anthony Vallée-Dubois . resolved

        Any reason why there's no FK constraint between this ID and the PK in the index table?

        Etienne Pierre-Doray

        Done

        Line 373, Patchset 3: SQL_FROM_HERE, "DELETE FROM local_traces_payloads WHERE uuid=?"));
        Anthony Vallée-Dubois . resolved

        An FK constraint on the uuid with a `ON DELETE CASCADE` clause would remove the need for this separate statement. If done this way, don't we need to wrap the 2 statements in a transaction too?

        Etienne Pierre-Doray

        Done

        Line 649, Patchset 3: if (!database_.Raze()) {
        Anthony Vallée-Dubois . unresolved

        I remember Etienne mentioning Raze() being really problematic, but I'm not sure what the proper way to handle this is if it isn't Raze. Maybe jpgravel@ knows.

        Etienne Pierre-Doray

        +jpgravel@

        Line 662, Patchset 3: if (!database_.Execute("DROP TABLE local_traces IF EXISTS")) {
        Anthony Vallée-Dubois . resolved

        Are we OK with losing previous data (not migrating it) during this upgrade?

        Etienne Pierre-Doray

        Yes, for simplicity I don't want to migrate databases.

        Line 685, Patchset 3: "DELETE FROM local_traces_payloads "
        Anthony Vallée-Dubois . resolved

        Same comment re: FK + ON DELETE CASCADE making this function redundant.

        Etienne Pierre-Doray

        Done

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Anthony Vallée-Dubois
        • Etienne Bergeron
        • Jean-Philippe Gravel
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ia95f0c77869e4f4bfe9dd25cd50df76383bbf5e3
        Gerrit-Change-Number: 7205194
        Gerrit-PatchSet: 4
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Anthony Vallée-Dubois <anth...@chromium.org>
        Gerrit-Reviewer: Etienne Bergeron <etie...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
        Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
        Gerrit-Attention: Jean-Philippe Gravel <jpgr...@chromium.org>
        Gerrit-Attention: Anthony Vallée-Dubois <anth...@chromium.org>
        Gerrit-Attention: Etienne Bergeron <etie...@chromium.org>
        Gerrit-Comment-Date: Tue, 09 Dec 2025 19:43:13 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Anthony Vallée-Dubois <anth...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Etienne Pierre-Doray (Gerrit)

        unread,
        Dec 9, 2025, 2:49:44 PM (11 days ago) Dec 9
        to Jean-Philippe Gravel, Anthony Vallée-Dubois, Code Review Nudger, Etienne Bergeron, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Anthony Vallée-Dubois, Etienne Bergeron and Jean-Philippe Gravel

        Etienne Pierre-Doray added 1 comment

        Commit Message
        Line 13, Patchset 3:
        Anthony Vallée-Dubois . resolved

        Got a bug to assign here for tracking?

        Etienne Pierre-Doray

        Done

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Anthony Vallée-Dubois
        • Etienne Bergeron
        • Jean-Philippe Gravel
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ia95f0c77869e4f4bfe9dd25cd50df76383bbf5e3
        Gerrit-Change-Number: 7205194
        Gerrit-PatchSet: 5
        Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Anthony Vallée-Dubois <anth...@chromium.org>
        Gerrit-Reviewer: Etienne Bergeron <etie...@chromium.org>
        Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
        Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
        Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
        Gerrit-Attention: Jean-Philippe Gravel <jpgr...@chromium.org>
        Gerrit-Attention: Anthony Vallée-Dubois <anth...@chromium.org>
        Gerrit-Attention: Etienne Bergeron <etie...@chromium.org>
        Gerrit-Comment-Date: Tue, 09 Dec 2025 19:49:38 +0000
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Anthony Vallée-Dubois (Gerrit)

        unread,
        Dec 9, 2025, 3:37:01 PM (11 days ago) Dec 9
        to Etienne Pierre-Doray, Jean-Philippe Gravel, Code Review Nudger, Etienne Bergeron, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
        Attention needed from Etienne Bergeron, Etienne Pierre-Doray and Jean-Philippe Gravel

        Anthony Vallée-Dubois voted and added 2 comments

        Votes added by Anthony Vallée-Dubois

        Code-Review+1

        2 comments

        Patchset-level comments
        File-level comment, Patchset 5 (Latest):
        Anthony Vallée-Dubois . resolved

        lgtm

        File content/browser/tracing/trace_report_database.h
        Line 177, Patchset 5 (Latest): bool DeleteOrphanedPayloads();
        Anthony Vallée-Dubois . unresolved

        This doesn't exist in the cc anymore.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Etienne Bergeron
        • Etienne Pierre-Doray
        • Jean-Philippe Gravel
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • requirement satisfiedReview-Enforcement
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: Ia95f0c77869e4f4bfe9dd25cd50df76383bbf5e3
          Gerrit-Change-Number: 7205194
          Gerrit-PatchSet: 5
          Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
          Gerrit-Reviewer: Anthony Vallée-Dubois <anth...@chromium.org>
          Gerrit-Reviewer: Etienne Bergeron <etie...@chromium.org>
          Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
          Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-Attention: Jean-Philippe Gravel <jpgr...@chromium.org>
          Gerrit-Attention: Etienne Bergeron <etie...@chromium.org>
          Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
          Gerrit-Comment-Date: Tue, 09 Dec 2025 20:36:54 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Etienne Pierre-Doray (Gerrit)

          unread,
          Dec 10, 2025, 11:23:25 AM (10 days ago) Dec 10
          to Anthony Vallée-Dubois, Jean-Philippe Gravel, Code Review Nudger, Etienne Bergeron, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
          Attention needed from Anthony Vallée-Dubois, Etienne Bergeron and Jean-Philippe Gravel

          Etienne Pierre-Doray added 2 comments

          File content/browser/tracing/trace_report_database.h
          Line 177, Patchset 5: bool DeleteOrphanedPayloads();
          Anthony Vallée-Dubois . resolved

          This doesn't exist in the cc anymore.

          Etienne Pierre-Doray

          Done

          File content/browser/tracing/trace_report_database.cc
          Line 649, Patchset 3: if (!database_.Raze()) {
          Anthony Vallée-Dubois . resolved

          I remember Etienne mentioning Raze() being really problematic, but I'm not sure what the proper way to handle this is if it isn't Raze. Maybe jpgravel@ knows.

          Etienne Pierre-Doray

          +jpgravel@

          Etienne Pierre-Doray

          Discussed in chat, it sounds like there are issues with Raze, but those will be addressed in the impl of Raze, so nothing to do here.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Anthony Vallée-Dubois
          • Etienne Bergeron
          • Jean-Philippe Gravel
          Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement satisfiedCode-Owners
            • requirement is not satisfiedCode-Review
            • requirement is not satisfiedReview-Enforcement
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: Ia95f0c77869e4f4bfe9dd25cd50df76383bbf5e3
            Gerrit-Change-Number: 7205194
            Gerrit-PatchSet: 6
            Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
            Gerrit-Reviewer: Anthony Vallée-Dubois <anth...@chromium.org>
            Gerrit-Reviewer: Etienne Bergeron <etie...@chromium.org>
            Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
            Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
            Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
            Gerrit-Attention: Jean-Philippe Gravel <jpgr...@chromium.org>
            Gerrit-Attention: Anthony Vallée-Dubois <anth...@chromium.org>
            Gerrit-Attention: Etienne Bergeron <etie...@chromium.org>
            Gerrit-Comment-Date: Wed, 10 Dec 2025 16:23:18 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Anthony Vallée-Dubois <anth...@chromium.org>
            Comment-In-Reply-To: Etienne Pierre-Doray <etie...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Etienne Pierre-Doray (Gerrit)

            unread,
            Dec 10, 2025, 11:23:40 AM (10 days ago) Dec 10
            to Anthony Vallée-Dubois, Jean-Philippe Gravel, Code Review Nudger, Etienne Bergeron, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
            Attention needed from Anthony Vallée-Dubois, Etienne Bergeron and Jean-Philippe Gravel

            Etienne Pierre-Doray added 1 comment

            Patchset-level comments
            File-level comment, Patchset 6 (Latest):
            Etienne Pierre-Doray . resolved

            Looks like I need a re+1

            Gerrit-Comment-Date: Wed, 10 Dec 2025 16:23:35 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Anthony Vallée-Dubois (Gerrit)

            unread,
            Dec 10, 2025, 11:33:54 AM (10 days ago) Dec 10
            to Etienne Pierre-Doray, Jean-Philippe Gravel, Code Review Nudger, Etienne Bergeron, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
            Attention needed from Etienne Bergeron, Etienne Pierre-Doray and Jean-Philippe Gravel

            Anthony Vallée-Dubois voted Code-Review+1

            Code-Review+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Etienne Bergeron
            • Etienne Pierre-Doray
            • Jean-Philippe Gravel
            Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement satisfiedCode-Owners
              • requirement satisfiedCode-Review
              • requirement satisfiedReview-Enforcement
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: comment
              Gerrit-Project: chromium/src
              Gerrit-Branch: main
              Gerrit-Change-Id: Ia95f0c77869e4f4bfe9dd25cd50df76383bbf5e3
              Gerrit-Change-Number: 7205194
              Gerrit-PatchSet: 6
              Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
              Gerrit-Reviewer: Anthony Vallée-Dubois <anth...@chromium.org>
              Gerrit-Reviewer: Etienne Bergeron <etie...@chromium.org>
              Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
              Gerrit-Reviewer: Jean-Philippe Gravel <jpgr...@chromium.org>
              Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
              Gerrit-Attention: Jean-Philippe Gravel <jpgr...@chromium.org>
              Gerrit-Attention: Etienne Bergeron <etie...@chromium.org>
              Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
              Gerrit-Comment-Date: Wed, 10 Dec 2025 16:33:46 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              open
              diffy

              Etienne Pierre-Doray (Gerrit)

              unread,
              Dec 10, 2025, 11:35:25 AM (10 days ago) Dec 10
              to Jean-Philippe Gravel, Anthony Vallée-Dubois, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
              Attention needed from Jean-Philippe Gravel

              Etienne Pierre-Doray voted Commit-Queue+2

              Commit-Queue+2
              Open in Gerrit

              Related details

              Attention is currently required from:
              • Jean-Philippe Gravel
              Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement satisfiedCode-Owners
              • requirement satisfiedCode-Review
              • requirement satisfiedReview-Enforcement
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: comment
              Gerrit-Project: chromium/src
              Gerrit-Branch: main
              Gerrit-Change-Id: Ia95f0c77869e4f4bfe9dd25cd50df76383bbf5e3
              Gerrit-Change-Number: 7205194
              Gerrit-PatchSet: 6
              Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
              Gerrit-Reviewer: Anthony Vallée-Dubois <anth...@chromium.org>
              Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
              Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
              Gerrit-CC: Jean-Philippe Gravel <jpgr...@chromium.org>
              Gerrit-Attention: Jean-Philippe Gravel <jpgr...@chromium.org>
              Gerrit-Comment-Date: Wed, 10 Dec 2025 16:35:15 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              open
              diffy

              Chromium LUCI CQ (Gerrit)

              unread,
              Dec 10, 2025, 12:22:23 PM (10 days ago) Dec 10
              to Etienne Pierre-Doray, Jean-Philippe Gravel, Anthony Vallée-Dubois, Code Review Nudger, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org

              Chromium LUCI CQ submitted the change

              Change information

              Commit message:
              [tracing] Move payload to a different table in trace reports

              SQL queries are slow when checking `trace_content IS NOT NULL`.
              The solution is to keep the payloads in a separate table, so that
              1-most queries that don't need it aren't slow down
              2-Checking if a table has a payload is a LEFT JOIN which is more efficient
              Bug: 467386543
              Change-Id: Ia95f0c77869e4f4bfe9dd25cd50df76383bbf5e3
              Reviewed-by: Anthony Vallée-Dubois <anth...@chromium.org>
              Commit-Queue: Etienne Pierre-Doray <etie...@chromium.org>
              Cr-Commit-Position: refs/heads/main@{#1556812}
              Files:
              • M content/browser/tracing/trace_report_database.cc
              Change size: L
              Delta: 1 file changed, 264 insertions(+), 199 deletions(-)
              Branch: refs/heads/main
              Submit Requirements:
              • requirement satisfiedCode-Review: +1 by Anthony Vallée-Dubois
              Open in Gerrit
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: merged
              Gerrit-Project: chromium/src
              Gerrit-Branch: main
              Gerrit-Change-Id: Ia95f0c77869e4f4bfe9dd25cd50df76383bbf5e3
              Gerrit-Change-Number: 7205194
              Gerrit-PatchSet: 7
              Gerrit-Owner: Etienne Pierre-Doray <etie...@chromium.org>
              Gerrit-Reviewer: Anthony Vallée-Dubois <anth...@chromium.org>
              Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
              Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
              open
              diffy
              satisfied_requirement
              Reply all
              Reply to author
              Forward
              0 new messages