Skip to content

Commit

Permalink
Updated etcd to 3.3.2
Browse files Browse the repository at this point in the history
Autocompaction revision mode can now be set to an integer instead of a
time-based value.

Signed-off-by: Mercedes Coyle <mercedes@sensu.io>
  • Loading branch information
mercul3s committed Mar 21, 2018
1 parent 3d9f397 commit 6ea4855
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Versioning](http://semver.org/spec/v2.0.0.html).
- Move Hooks and Silenced out of Event and into Check.
- Handle round-robin scheduling in wizardbus.
- Added informational logging for failed entity keepalives.
- Updated etcd to 3.3.2 from 3.3.1 to fix an issue with autocompaction settings.

### Fixed
- Shut down sessions properly when agent connections are disrupted.
Expand Down
9 changes: 4 additions & 5 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ required = ["github.com/shirou/w32"]

[[constraint]]
name = "github.com/coreos/etcd"
version = "3.3.1"
version = "3.3.2"

[[constraint]]
name = "github.com/robfig/cron"
Expand Down
2 changes: 1 addition & 1 deletion backend/etcd/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func NewEtcd(config *Config) (*Etcd, error) {
cfg.AutoCompactionMode = "revision"
// This has to stay in ns until https://github.com/coreos/etcd/issues/9337
// is resolved.
cfg.AutoCompactionRetention = "1ns"
cfg.AutoCompactionRetention = "1"
// Default to 4G etcd size. TODO: make this configurable.
cfg.QuotaBackendBytes = int64(4 * 1024 * 1024 * 1024)

Expand Down

0 comments on commit 6ea4855

Please sign in to comment.