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

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
v0.14.0
------
* settings *PITHOS_BACKEND_POOL_SIZE*
* setting *PITHOS_UPDATE_MD5* is set to False by default
v0.13.0
------
......
......@@ -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 @@
#PITHOS_BACKEND_VERSIONING = 'auto'
#PITHOS_BACKEND_FREE_VERSIONING = True
# Disable if checksums are not required or are computed asynchronously by an external process.
#PITHOS_UPDATE_MD5 = True
# Enable if object checksums are required
# False results to improved performance
# but breaks the compatibility with the OpenStack Object Storage API
#PITHOS_UPDATE_MD5 = False
# Service Token acquired by identity provider.
#PITHOS_SERVICE_TOKEN = ''
......
......@@ -35,8 +35,8 @@ BACKEND_FREE_VERSIONING = getattr(settings, 'PITHOS_BACKEND_FREE_VERSIONING', Tr
# Default backend pool size
BACKEND_POOL_SIZE = getattr(settings, 'PITHOS_BACKEND_POOL_SIZE', 5)
# 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