diff --git a/Godeps b/Godeps index 804dc49f25..b655975e06 100644 --- a/Godeps +++ b/Godeps @@ -19,6 +19,7 @@ github.com/influxdata/yamux 1f58ded512de5feabbe30b60c7d33a7a896c5f16 github.com/influxdata/yarpc f0da2db138cad2fb425541938fc28dd5a5bc6918 github.com/jsternberg/zap-logfmt ac4bd917e18a4548ce6e0e765b29a4e7f397b0b6 github.com/jwilder/encoding b4e1701a28efcc637d9afcca7d38e495fe909a09 +github.com/klauspost/pgzip 0bf5dcad4ada2814c3c00f996a982270bb81a506 github.com/mattn/go-isatty 6ca4dbf54d38eea1a992b3c722a76a5d1c4cb25c github.com/matttproud/golang_protobuf_extensions 3247c84500bff8d9fb6d579d800f20b3e091582c github.com/mschoch/smat 90eadee771aeab36e8bf796039b8c261bebebe4f diff --git a/LICENSE_OF_DEPENDENCIES.md b/LICENSE_OF_DEPENDENCIES.md index ea6fc69f30..b5b0df85b6 100644 --- a/LICENSE_OF_DEPENDENCIES.md +++ b/LICENSE_OF_DEPENDENCIES.md @@ -23,6 +23,7 @@ - github.com/influxdata/yarpc [MIT LICENSE](https://github.com/influxdata/yarpc/blob/master/LICENSE) - github.com/jsternberg/zap-logfmt [MIT LICENSE](https://github.com/jsternberg/zap-logfmt/blob/master/LICENSE) - github.com/jwilder/encoding [MIT LICENSE](https://github.com/jwilder/encoding/blob/master/LICENSE) +- github.com/klauspost/pgzip [MIT LICENSE](https://github.com/klauspost/pgzip/blob/master/LICENSE) - github.com/mattn/go-isatty [MIT LICENSE](https://github.com/mattn/go-isatty/blob/master/LICENSE) - github.com/matttproud/golang_protobuf_extensions [APACHE LICENSE](https://github.com/matttproud/golang_protobuf_extensions/blob/master/LICENSE) - github.com/opentracing/opentracing-go [MIT LICENSE](https://github.com/opentracing/opentracing-go/blob/master/LICENSE) diff --git a/cmd/influxd/backup/backup.go b/cmd/influxd/backup/backup.go index 486daafd29..dcc1198823 100644 --- a/cmd/influxd/backup/backup.go +++ b/cmd/influxd/backup/backup.go @@ -2,7 +2,6 @@ package backup import ( - "compress/gzip" "encoding/binary" "encoding/json" "errors" @@ -20,6 +19,7 @@ import ( "github.com/influxdata/influxdb/cmd/influxd/backup_util" "github.com/influxdata/influxdb/services/snapshotter" "github.com/influxdata/influxdb/tcp" + gzip "github.com/klauspost/pgzip" ) const ( diff --git a/cmd/influxd/restore/restore.go b/cmd/influxd/restore/restore.go index 25848d5fb8..eadd5f0b75 100644 --- a/cmd/influxd/restore/restore.go +++ b/cmd/influxd/restore/restore.go @@ -16,7 +16,7 @@ import ( "strconv" "strings" - "compress/gzip" + gzip "github.com/klauspost/pgzip" "github.com/influxdata/influxdb/cmd/influxd/backup_util" tarstream "github.com/influxdata/influxdb/pkg/tar"