Page MenuHomePhabricator
Feed Advanced Search

Nov 4 2015

avivey added a comment to T9715: Prevent upgrade scripts from being run multiple times simultaneously.

Trying to run db migration automagically is a path to ruin. Having multiple hosts trying to run it is one likely error; Having one host run migration while another one is reading/writing is bad. Having one host migrate, and another expect the old schema.
Just don't go there.

Nov 4 2015, 9:22 PM · Database
joshuaspence created T9715: Prevent upgrade scripts from being run multiple times simultaneously.
Nov 4 2015, 8:50 PM · Database

Oct 28 2015

jcarrillo7 closed T9651: Daemon crashing due to uncaught exception during database transactions as Resolved.
Oct 28 2015, 1:59 AM · Database, Daemons
jcarrillo7 added a comment to T9651: Daemon crashing due to uncaught exception during database transactions.

Ah that was it. I increased that and also had to increase the innodb_log_file_size.

Oct 28 2015, 1:59 AM · Database, Daemons
chad added a comment to T9651: Daemon crashing due to uncaught exception during database transactions.

What is your max_allowed_packet set to in MySQL?

Oct 28 2015, 1:09 AM · Database, Daemons
jcarrillo7 updated the task description for T9651: Daemon crashing due to uncaught exception during database transactions.
Oct 28 2015, 1:06 AM · Database, Daemons
jcarrillo7 created T9651: Daemon crashing due to uncaught exception during database transactions.
Oct 28 2015, 1:05 AM · Database, Daemons

Sep 27 2015

epriestley merged task T7248: Phabricator mysql.implementation into T2383: Run PHP environment checks from CLI.
Sep 27 2015, 9:14 PM · Database

Jul 23 2015

joshuaspence placed T8476: Rename `phabricator_repository` database up for grabs.
Jul 23 2015, 9:03 AM · Restricted Project, Database, Diffusion

Jul 17 2015

chad closed T8870: isRoom column doesn't exist in table when running storage upgrade. as Resolved.
Jul 17 2015, 5:45 AM · Database, Installing & Upgrading
chad added a comment to T8870: isRoom column doesn't exist in table when running storage upgrade..

happycat

Jul 17 2015, 5:44 AM · Database, Installing & Upgrading
rupertsteel added a comment to T8870: isRoom column doesn't exist in table when running storage upgrade..

Turns out that somehow the git repository got corrupted, deleting the phabricator install and getting it from git again fixed the issue.

Jul 17 2015, 5:43 AM · Database, Installing & Upgrading
chad added a comment to T8870: isRoom column doesn't exist in table when running storage upgrade..

Yeah, even the surplus stuff is off. I'd verify your entire update process. For example, my phabricator_calendar.calendar_event table looks like this:

Jul 17 2015, 5:42 AM · Database, Installing & Upgrading
chad added a comment to T8870: isRoom column doesn't exist in table when running storage upgrade..

I don't have any other ideas. It was added in that patch, then removed a few months later in rP541e3d9e. key_room doesn't exist at HEAD.

Jul 17 2015, 5:33 AM · Database, Installing & Upgrading
rupertsteel added a comment to T8870: isRoom column doesn't exist in table when running storage upgrade..

Phabricator was installed from source using git. I can't quite remember when I last updated it, but it was probably around the end of may.

Jul 17 2015, 5:29 AM · Database, Installing & Upgrading
chad added a comment to T8870: isRoom column doesn't exist in table when running storage upgrade..

Do you know when you last updated roughly? Did you install Phabricator from source?

Jul 17 2015, 5:20 AM · Database, Installing & Upgrading
chad added a comment to T8870: isRoom column doesn't exist in table when running storage upgrade..

bin/storage status should tell you if you have patches that didn't get applied.

Jul 17 2015, 5:12 AM · Database, Installing & Upgrading
rupertsteel created T8870: isRoom column doesn't exist in table when running storage upgrade..
Jul 17 2015, 3:22 AM · Database, Installing & Upgrading

Jul 8 2015

chad removed a member for Database: chad.
Jul 8 2015, 7:38 PM

Jun 11 2015

joshuaspence added a comment to T8476: Rename `phabricator_repository` database.

So far, I have come up with two different approaches to this. One of the major issues with this change is that we don't have a way to just connect to an arbitrary database with Lisk. Migrations which expect to change the phabricator_pastebin database, for example, cannot use PhabricatorPaste (which tries to connect to the phabricator_paste database, which doesn't yet exist). Furthermore, theses migrations cannot use LiskRawMigrationIterator either, because there is currently no easy way to construct an AphrontDatabaseConnection which connects to an arbitrary database.

Jun 11 2015, 9:54 PM · Restricted Project, Database, Diffusion

Jun 10 2015

joshuaspence claimed T8476: Rename `phabricator_repository` database.
Jun 10 2015, 11:00 AM · Restricted Project, Database, Diffusion

Jun 9 2015

joshuaspence added a revision to T8476: Rename `phabricator_repository` database: D13224: Rename the repository database.
Jun 9 2015, 12:07 PM · Restricted Project, Database, Diffusion
joshuaspence added a comment to T8476: Rename `phabricator_repository` database.

I got bored and went ahead with this.

Jun 9 2015, 11:37 AM · Restricted Project, Database, Diffusion
joshuaspence added a revision to T8476: Rename `phabricator_repository` database: D13223: Rename Paste database.
Jun 9 2015, 10:03 AM · Restricted Project, Database, Diffusion

Jun 8 2015

epriestley added a comment to T8476: Rename `phabricator_repository` database.

As a possible attack on this, we could rename phabricator_pastebin to phabricator_paste first and see how awful that is.

Jun 8 2015, 9:13 PM · Restricted Project, Database, Diffusion
joshuaspence triaged T8476: Rename `phabricator_repository` database as Low priority.
Jun 8 2015, 9:06 PM · Restricted Project, Database, Diffusion
joshuaspence created T8476: Rename `phabricator_repository` database.
Jun 8 2015, 9:05 PM · Restricted Project, Database, Diffusion

Jun 5 2015

ravitezu added a comment to T7044: Discrepancy between 'bin/storage databases' and 'bin/storage destroy'.

With a fresh install on Ubuntu 15.04 I am able to reproduce this. When I ran ./bin/storage upgrade it gave me that error.

Jun 5 2015, 9:03 AM · Database

Apr 15 2015

epriestley closed T7828: test from elcom as Resolved.

nyancat

Apr 15 2015, 12:41 PM · Database
hieunx created T7828: test from elcom.
Apr 15 2015, 12:14 PM · Database

Mar 12 2015

epriestley closed T5843: Make storage backends extensible as Resolved by committing rPe2296a0ff773: Modernize file storage engine selection.
Mar 12 2015, 8:29 PM · Database
epriestley added a comment to T5843: Make storage backends extensible.

D12053 marks this as fixed. Specifically:

Mar 12 2015, 7:46 PM · Database
epriestley added a revision to T5843: Make storage backends extensible: D12053: Modernize file storage engine selection.
Mar 12 2015, 7:39 PM · Database
epriestley added a parent task for T5843: Make storage backends extensible: T7149: Allow users to import data into a new Phacility instance.
Mar 12 2015, 7:29 PM · Database

Mar 11 2015

joshuaspence added a comment to T5843: Make storage backends extensible.

This might be fixed by D11224.

Mar 11 2015, 8:42 PM · Database

Mar 3 2015

epriestley added a comment to T6453: MySQL warnings after storage adjustment.

I think this warning is incorrect (i.e., the statement is not actually unsafe, because the autoincrement primary key can never collide).

Mar 3 2015, 12:16 PM · Database
epriestley closed T7044: Discrepancy between 'bin/storage databases' and 'bin/storage destroy' as Invalid.

We can't reproduce this.

Mar 3 2015, 11:09 AM · Database

Feb 14 2015

joshuaspence added a project to T7248: Phabricator mysql.implementation: Database.
Feb 14 2015, 9:45 AM · Database

Jan 29 2015

joshuaspence closed T7078: Add a `./bin/storage interactive` command as Resolved by committing rP1ecfa0313c48: Add a `./bin/storage shell` command.
Jan 29 2015, 8:15 PM · Database
joshuaspence added a revision to T7078: Add a `./bin/storage interactive` command: D11548: Add a `./bin/storage shell` command.
Jan 29 2015, 7:21 AM · Database

Jan 28 2015

joshuaspence created T7078: Add a `./bin/storage interactive` command.
Jan 28 2015, 11:36 PM · Database

Jan 27 2015

epriestley added a comment to T7044: Discrepancy between 'bin/storage databases' and 'bin/storage destroy'.

Is it possible you created all the DBs listed in bin/storage databases of an old version of Phabricator?

Jan 27 2015, 1:47 PM · Database
eliaspro reopened T7044: Discrepancy between 'bin/storage databases' and 'bin/storage destroy' as "Open".

Forgot to re-open with my previous comment.

Jan 27 2015, 12:47 PM · Database

Jan 26 2015

eliaspro added a comment to T7044: Discrepancy between 'bin/storage databases' and 'bin/storage destroy'.

This happens on a completely fresh install.
All I did was:

Jan 26 2015, 8:15 PM · Database
epriestley closed T7044: Discrepancy between 'bin/storage databases' and 'bin/storage destroy' as Resolved.

bin/storage databases does not list phabricator_timeline because it is no longer an active database. It was removed by D5744.

Jan 26 2015, 8:08 PM · Database
eliaspro created T7044: Discrepancy between 'bin/storage databases' and 'bin/storage destroy'.
Jan 26 2015, 7:31 PM · Database

Jan 12 2015

epriestley closed T6931: Support SSL connections to MySQL as Wontfix.

We aren't interested in supporting this in the upstream, since it seems like a lot of complexity and a negligible amount of value.

Jan 12 2015, 9:28 PM · Database
vrusinov added a comment to T6931: Support SSL connections to MySQL.

Well, in case of Amazon/other cloud I simply don't know or have any control over traffic between my virtual machine and RDS.
In post-Snowden world there are many other good reasons to try to wrap as much stuff as possible in ssl.

Jan 12 2015, 9:16 PM · Database
epriestley added a comment to T6931: Support SSL connections to MySQL.

I don't think I really understand the threat model for (1) here.

Jan 12 2015, 3:42 PM · Database

Jan 11 2015

vrusinov created T6931: Support SSL connections to MySQL.
Jan 11 2015, 10:46 PM · Database

Dec 30 2014

chad added a project to T5843: Make storage backends extensible: Database.
Dec 30 2014, 5:26 PM · Database
chad added a project to T6453: MySQL warnings after storage adjustment: Database.
Dec 30 2014, 5:26 PM · Database