Skip to content

Commit

Permalink
Replace Container Hierarchy with new version
Browse files Browse the repository at this point in the history
  • Loading branch information
murlock committed Sep 26, 2018
1 parent c7fdcea commit 711166a
Show file tree
Hide file tree
Showing 9 changed files with 474 additions and 1,129 deletions.
15 changes: 5 additions & 10 deletions conf/s3_container_hierarchy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ eventlet_debug = true
sds_default_account = AUTH_demo

[pipeline:main]
#pipeline = catch_errors cache swift3 tempauth proxy-logging slo versioned_writes proxy-server
pipeline = catch_errors cache swift3 tempauth proxy-logging slo container_hierarchy proxy-server
# pipeline = catch_errors cache swift3 tempauth proxy-logging slo container_hierarchy versioned_writes proxy-server
# pipeline = catch_errors proxy-logging slo proxy-server

[app:proxy-server]
use = egg:oioswift#main
Expand Down Expand Up @@ -85,8 +82,10 @@ allow_versioned_writes = true

[filter:container_hierarchy]
# Spawn containers for each subdirectory, instead of emulating
# directories with '/' in object names. This middleware must be
# placed after authentication in the pipeline.
# directories with '/' in object names. Path are stored in redis
# to avoid empties containers. Object finishing with / are
# also stored in redis (some tools as distcp emulating directories
# with this kind of fake objects)

use = egg:oioswift#container_hierarchy
#log_level = INFO
Expand All @@ -96,8 +95,4 @@ use = egg:oioswift#container_hierarchy
strip_v1 = true
swift3_compat = true
account_first = true

# Create empty objects to mark subdirectories. This enables
# recursive object listings.
create_dir_placeholders = true
recursive_placeholders = true
redis_host = 127.0.0.1:6379
98 changes: 0 additions & 98 deletions conf/s3_container_sharding.cfg

This file was deleted.

Loading

0 comments on commit 711166a

Please sign in to comment.