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

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 1832173002: [sql] Database recovery system for Shortcuts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments from #9 and #10. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« sql/recovery_unittest.cc ('K') | « sql/recovery_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 043f500d600a1a5d7c49f032b7bcf7cb54450b84..448192f6e2b9e83efa4d6b0b34a5223961698906 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -83764,6 +83764,33 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="19" label="RECOVERY_FAILED_META_NO_VERSION">
Mark P 2016/04/19 23:34:28 Please add a sentence to the end of the Sqlite.Rec
Scott Hess - ex-Googler 2016/05/13 21:24:36 Done.
Scott Hess - ex-Googler 2016/06/29 21:39:30 Undone in favor of referring to the code.
GetMetaVersionNumber() found no version row in meta table.
</int>
+ <int value="20" label="RECOVERY_SUCCESS_AUTORECOVERDB">
+ sql::Recovery::RecoverDatabaseOrRaze() completed successfully.
+ </int>
+ <int value="21" label="RECOVERY_FAILED_AUTORECOVERDB_BEGIN">
+ Database was too broken to recover.
Mark P 2016/04/19 23:34:28 "to recover" or "to attempt recovery"? It looks li
Scott Hess - ex-Googler 2016/05/13 21:24:36 Recovery was attempted, and it failed in setup. I
Scott Hess - ex-Googler 2016/06/27 21:35:38 Just FYI, I don't consider this comment resolved,
Mark P 2016/06/27 23:20:13 Acknowledged.
Scott Hess - ex-Googler 2016/06/29 21:39:30 OK, WRT re-writing the histogram comment to indica
+ </int>
+ <int value="22" label="RECOVERY_FAILED_AUTORECOVERDB_SCHEMA">
+ Autorecover could not copy existing schema.
+ </int>
+ <int value="23" label="RECOVERY_FAILED_AUTORECOVERDB_SCHEMACREATE">
+ Autorecover could not create new db schema, subset of _SCHEMA.
+ </int>
+ <int value="24" label="RECOVERY_FAILED_AUTORECOVERDB_SCHEMASELECT">
+ Autorecover could not read corrupt db schema, subset of _SCHEMA.
+ </int>
+ <int value="25" label="RECOVERY_FAILED_AUTORECOVERDB_NAMESELECT">
+ Autorecover could not read table names to copy.
+ </int>
+ <int value="26" label="RECOVERY_FAILED_AUTORECOVERDB_TABLE">
+ Autorecover failed recovering a table.
+ </int>
+ <int value="27" label="RECOVERY_FAILED_AUTORECOVERDB_SEQUENCE">
+ Autorecover failed recovering sequence table.
+ </int>
+ <int value="28" label="RECOVERY_FAILED_AUTORECOVERDB_AUX">
+ Autorecover failed recovering triggers, views, or virtual tables.
+ </int>
</enum>
<enum name="SqliteStatsEnum" type="int">
« sql/recovery_unittest.cc ('K') | « sql/recovery_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698