Bug 252272: Allow extremely large attachments to be stored locally

Patch by A. Karl Kornel <karl@kornel.name>, r=joel,colin
parent cfbf9fcb
<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> --> <!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> -->
<!-- $Id: installation.xml,v 1.99 2005/07/09 22:37:26 mozilla%colinogilvie.co.uk Exp $ --> <!-- $Id: installation.xml,v 1.100 2005/07/12 10:56:52 mozilla%colinogilvie.co.uk Exp $ -->
<chapter id="installing-bugzilla"> <chapter id="installing-bugzilla">
<title>Installing Bugzilla</title> <title>Installing Bugzilla</title>
...@@ -651,6 +651,14 @@ ...@@ -651,6 +651,14 @@
'max_allowed_packet' or 'maxattachmentsize' value will not be 'max_allowed_packet' or 'maxattachmentsize' value will not be
accepted by Bugzilla. accepted by Bugzilla.
</para> </para>
<note>
<para>
This does not affect Big Files, attachments that are stored directly
on disk instead of in the database. Their maximum size is
controlled using the 'maxlocalattachment' parameter.
</para>
</note>
</section> </section>
...@@ -707,6 +715,13 @@ ...@@ -707,6 +715,13 @@
to make a temporary copy of your entire table to do this. Ideally, to make a temporary copy of your entire table to do this. Ideally,
you should do this when your attachments table is still small. you should do this when your attachments table is still small.
</para> </para>
<note>
<para>
This does not affect Big Files, attachments that are stored directly
on disk instead of in the database.
</para>
</note>
</section> </section>
<section id="install-setupdatabase-adduser"> <section id="install-setupdatabase-adduser">
......
...@@ -234,8 +234,12 @@ ...@@ -234,8 +234,12 @@
<listitem> <listitem>
<para> <para>
<emphasis>Attachments:</emphasis> <emphasis>Attachments:</emphasis>
You can attach files (e.g. testcases or patches) to bugs. If there You can attach files (e.g. testcases or patches) to bugs. If there
are any attachments, they are listed in this section.</para> are any attachments, they are listed in this section. Attachments are
normally stored in the Bugzilla database, unless they are marked as
Big Files, which are stored directly on disk and (unlike attachments
kept in the database) may be deleted at some future time.
</para>
</listitem> </listitem>
<listitem> <listitem>
...@@ -774,7 +778,17 @@ ...@@ -774,7 +778,17 @@
Content-Type (e.g. application/xhtml+xml), you can override this Content-Type (e.g. application/xhtml+xml), you can override this
using a 'content-type' parameter on the URL, e.g. using a 'content-type' parameter on the URL, e.g.
<filename>&amp;content-type=text/plain</filename>. <filename>&amp;content-type=text/plain</filename>.
</para> </para>
<para>
If you have a really large attachment, something that does not need to
be recorded forever (as most attachments are), you can mark your
attachment as a Big File, Assuming the administrator of the
installation has enabled this feature. Big Files are stored directly on
disk instead of in the database, and can be deleted when it is no longer
needed. The maximum size of a Big File is normally larger than the
maximum size of a regular attachment.
</para>
</section> </section>
</section> </section>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment