Commit 98efc321 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Deactivate pithos md5 update by default

Refs: #3554
parent ca00b91e
......@@ -906,6 +906,11 @@ you are not logged in. The ``PITHOS_UI_FEEDBACK_URL`` option points at the
pithos+ feedback form. Astakos already provides a generic feedback form for all
services, so we use this one.
The ``PITHOS_UPDATE_MD5`` option by default disables the computation of the
object checksums. This results to improved performance during object uploading.
However, if compatibility with the OpenStack Object Storage API is important
then it should be changed to ``True``.
Then edit ``/etc/synnefo/20-snf-pithos-webclient-cloudbar.conf``, to connect the
pithos+ web UI with the astakos web UI (through the top cloudbar):
......@@ -4,6 +4,7 @@ Changelog
* setting *PITHOS_UPDATE_MD5* is set to False by default
......@@ -45,7 +45,7 @@ PITHOS_BACKEND_QUOTA 50 GB (50 * 1024 ** 3)
PITHOS_BACKEND_VERSIONING auto Default versioning policy for containers
PITHOS_BACKEND_FREE_VERSIONING True Default versioning debit policy (default free)
PITHOS_BACKEND_POOL_SIZE 5 Default backend pool size
PITHOS_UPDATE_MD5 True Update object checksums when using hashmaps
PITHOS_UPDATE_MD5 False Update object checksums
PITHOS_SERVICE_TOKEN '' Service token acquired by the identity provider (astakos)
PITHOS_RADOS_STORAGE False Enables or disables secondary Pithos storage on RADOS
PITHOS_RADOS_POOL_BLOCKS None RADOS pool to be used for block storage
......@@ -19,8 +19,10 @@
# Disable if checksums are not required or are computed asynchronously by an external process.
# Enable if object checksums are required
# False results to improved performance
# but breaks the compatibility with the OpenStack Object Storage API
# Service Token acquired by identity provider.
......@@ -35,8 +35,8 @@ BACKEND_FREE_VERSIONING = getattr(settings, 'PITHOS_BACKEND_FREE_VERSIONING', Tr
# Default backend pool size
# Update object checksums when using hashmaps.
UPDATE_MD5 = getattr(settings, 'PITHOS_UPDATE_MD5', True)
# Update object checksums.
UPDATE_MD5 = getattr(settings, 'PITHOS_UPDATE_MD5', False)
# Service Token acquired by identity provider.
SERVICE_TOKEN = getattr(settings, 'PITHOS_SERVICE_TOKEN', '')
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