~david-goetz/swift/wal_again

« back to all changes in this revision

Viewing changes to etc/log-processor.conf-sample

  • Committer: Tarmac
  • Author(s): gholt
  • Date: 2011-06-16 21:12:04 UTC
  • mfrom: (291.19.6 postcopy)
  • mto: This revision was merged to the branch mainline in revision 294.
  • Revision ID: tarmac-20110616211204-s5slh4h8nt9mrd2v
You can specify X-Newest: true on GETs and HEADs to indicate you want Swift to query all backend copies and return the newest version retrieved.
Object COPY requests now always copy the newest object they can find.
Object POSTs are implemented as COPYs now by default (you can revert to previous implementation with conf object_post_as_copy = false)
Account and container GETs and HEADs now shuffle the nodes they use to balance load.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# log_dir = /var/log/swift/
15
15
swift_account = AUTH_7abbc116-8a07-4b63-819d-02715d3e0f31
16
16
container_name = log_data
17
 
source_filename_pattern = access-%Y%m%d%H
 
17
source_filename_pattern = ^
 
18
    (?P<year>[0-9]{4})
 
19
    (?P<month>[0-1][0-9])
 
20
    (?P<day>[0-3][0-9])
 
21
    (?P<hour>[0-2][0-9])
 
22
    .*$
18
23
# new_log_cutoff = 7200
19
24
# unlink_log = True
20
25
class_path = swift.stats.access_processor.AccessLogProcessor
31
36
# log_dir = /var/log/swift/
32
37
swift_account = AUTH_7abbc116-8a07-4b63-819d-02715d3e0f31
33
38
container_name = account_stats
34
 
source_filename_pattern = stats-%Y%m%d%H_.*
35
 
# new_log_cutoff = 7200
36
 
# unlink_log = True
37
 
class_path = swift.stats.stats_processor.StatsLogProcessor
38
 
# account_server_conf = /etc/swift/account-server.conf
39
 
# user = swift
 
39
# new_log_cutoff = 7200
 
40
# unlink_log = True
 
41
class_path = swift.stats.stats_processor.StatsLogProcessor
 
42
# devices = /srv/node
 
43
# mount_check = true
 
44
# user = swift
 
45
 
 
46
[log-processor-container-stats]
 
47
# log_dir = /var/log/swift/
 
48
swift_account = AUTH_7abbc116-8a07-4b63-819d-02715d3e0f31
 
49
container_name = container_stats
 
50
# new_log_cutoff = 7200
 
51
# unlink_log = True
 
52
class_path = swift.stats.stats_processor.StatsLogProcessor
 
53
processable = false
 
54
# devices = /srv/node
 
55
# mount_check = true
 
56
# user = swift
 
57
# metadata_keys = comma separated list of user metadata keys to be collected