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

Unified Diff: third_party/buildbot_8_4p1/buildbot/db/pool.py

Issue 2108563002: Cherry-pick buildbot de928a17f52dd91e17fab66d1cd5a60eed6aa360: (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@buildbot-workaround-1
Patch Set: Created 4 years, 6 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/buildbot_8_4p1/buildbot/db/pool.py
diff --git a/third_party/buildbot_8_4p1/buildbot/db/pool.py b/third_party/buildbot_8_4p1/buildbot/db/pool.py
index ea3df35af4e7b6f2b3c91b5758178bbc1cd34ef0..270243d4e855f1a1dda1edc5e3fa390e7614e22c 100644
--- a/third_party/buildbot_8_4p1/buildbot/db/pool.py
+++ b/third_party/buildbot_8_4p1/buildbot/db/pool.py
@@ -50,6 +50,10 @@ class DBThreadPool(threadpool.ThreadPool):
if engine.dialect.name == 'sqlite':
vers = self.get_sqlite_version()
log.msg("Using SQLite Version %s" % (vers,))
+ if vers < (3,7):
+ log.msg("NOTE: this old version of SQLite does not support "
+ "WAL journal mode; a busy master may encounter "
+ "'Database is locked' errors. Consider upgrading.")
if vers < (3,3,17):
log.msg("NOTE: this old version of SQLite does not support "
"multiple simultaneous accesses to the database; "
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698