Parallel compression

Drop-in of pgzip for gzip
pull/9856/head
Peng Liu 2018-05-16 11:19:57 -07:00
parent 2dde4e6174
commit 2e3ef6c9d7
4 changed files with 4 additions and 2 deletions

1
Godeps
View File

@ -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

View File

@ -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)

View File

@ -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 (

View File

@ -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"