1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 18:32:41 +01:00
phorge-phorge/src/docs/configuration
epriestley 2b7210260f Allow Phabricator storage engines to be extended and configured
Summary:
See T344. Currently, there's a hard-coded 12MB filesize limit and some awkward
interactions with MySQL's max_allowed_packet. Make this system generally more
robust:

  - Move the upload limit to configuration.
  - Add setup steps which reconcile max_allowed_packet vs MySQL file storage
limits.
  - Add a layer of indirection between uploading files and storage engines.
  - Allow the definition of new storage engines.
  - Define a local disk storage engine.
  - Add a "storage engine selector" class which manages choosing which storage
engines to put files in.
  - Document storage engines.
  - Document file storage classes.

Test Plan:
Setup mode:

  - Disabled MySQL storage engine, misconfigured it, configured it correctly.
  - Disabled file storage engine, set it to something invalid, set it to
something valid.
  - Verified max_allowed_packet is read correctly.

Application mode:

  - Configured local file storage.
  - Uploaded large and small files.
  - Verified larger files were written to local storage.
  - Verified smaller files were written to MySQL blob storage.

Documentation:

  - Read documentation.

Reviewed By: jungejason
Reviewers: jungejason, tuomaspelkonen, aran
CC: aran, epriestley, jungejason
Differential Revision: 695
2011-07-21 16:44:24 -07:00
..
configuration_guide.diviner Allow Phabricator storage engines to be extended and configured 2011-07-21 16:44:24 -07:00
configuring_accounts_and_registration.diviner Organize, update, and improve some documentation. 2011-06-25 20:33:25 -07:00
configuring_file_storage.diviner Allow Phabricator storage engines to be extended and configured 2011-07-21 16:44:24 -07:00
configuring_inbound_email.diviner Allow configuration of a task-creation email address 2011-07-05 17:17:27 -07:00
configuring_outbound_email.diviner Organize, update, and improve some documentation. 2011-06-25 20:33:25 -07:00
managing_daemons.diviner Add a garbage collector daemon 2011-07-05 13:49:11 -07:00
upgrade_schema.diviner Organize, update, and improve some documentation. 2011-06-25 20:33:25 -07:00