From 2542fb2398ab8079620a02dc189761d24a2e19e0 Mon Sep 17 00:00:00 2001 From: Peter Portante Date: Tue, 20 Aug 2013 22:18:13 -0400 Subject: Ensure fast-POST operations are used on objects The defacto swift implementation has a feature called "fast-POSTs", which is an optimization that allows POST operations on files to be performed by updating metadata on additional .meta files. The default is to treat all POST opreations as a COPY operation. Since this gluster-swift code stores all metadata directly on the original object file, there is no need to use an inefficient operation such as COPY. BUG XXXXXX: (https://bugzilla.redhat.com/show_bug.cgi?id=XXXXXX) Change-Id: I39f0a682d5344c3f84c5baa8e292227051c061b8 Signed-off-by: Peter Portante Reviewed-on: http://review.gluster.org/5673 Reviewed-by: Luis Pabon Tested-by: Luis Pabon --- etc/proxy-server.conf-gluster | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc/proxy-server.conf-gluster') diff --git a/etc/proxy-server.conf-gluster b/etc/proxy-server.conf-gluster index 32182b9..92f8083 100644 --- a/etc/proxy-server.conf-gluster +++ b/etc/proxy-server.conf-gluster @@ -16,6 +16,11 @@ log_level = WARN # or delete an account. So leave this off. allow_account_management = false account_autocreate = true +# Ensure the proxy server uses fast-POSTs since we don't need to make a copy +# of the entire object given that all metadata is stored in the object +# extended attributes (no .meta file used after creation) and no container +# sync feature to present. +object_post_as_copy = false # Only need to recheck the account exists once a day recheck_account_existence = 86400 # May want to consider bumping this up if containers are created and destroyed -- cgit