Skip to content

Commit

Permalink
swift: ad default autVersion
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Chodur <[email protected]>
  • Loading branch information
FUSAKLA committed Jul 2, 2020
1 parent 611ea29 commit 7f73343
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ We use *breaking* word for marking changes that are not backward compatible (rel
- [#2800](https://github.com/thanos-io/thanos/pull/2800) Query: Fix handling of `--web.external-prefix` and `--web.route-prefix`

### Changed
- [#2732](https://github.com/thanos-io/thanos/pull/2732) Swift: Switched to a new library [ncw/swift](https://github.com/ncw/swift) providing large objects support.
By default, segments will be uploaded to the same container directory `segments/` if the file is bigger than `1GB`.
To change the defaults see [the docs](./docs/storage.md#openstack-swift).

## [v0.14.0](https://github.com/thanos-io/thanos/releases) - IN PROGRESS

Expand All @@ -43,9 +46,6 @@ We use *breaking* word for marking changes that are not backward compatible (rel
- [#2739](https://github.com/thanos-io/thanos/pull/2739) Changed `bucket tool bucket verify` `--id-whitelist` flag to `--id`.
- [#2748](https://github.com/thanos-io/thanos/pull/2748) Upgrade Prometheus to [@66dfb951c4ca](https://github.com/prometheus/prometheus/commit/66dfb951c4ca2c1dd3f266172a48a925403b13a5) which is after v2.19.0.
- PromQL now allow us to executed concurrent selects.
- [#2732](https://github.com/thanos-io/thanos/pull/2732) Swift: Switched to a new library [ncw/swift]() providing large objects support.
By default, segments will be uploaded to the same container directory `segments/` if the file is bigger than `1GB`.
To change the defaults see [the docs](./docs/storage.md#openstack-swift).

### Added

Expand Down
1 change: 1 addition & 0 deletions pkg/objstore/swift/swift.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (
const DirDelim = '/'

var DefaultConfig = Config{
AuthVersion: 0, // Means autodetect of the auth API version by the library
ChunkSize: 1024 * 1024 * 1024,
Retries: 3,
ConnectTimeout: "10s",
Expand Down

0 comments on commit 7f73343

Please sign in to comment.