mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
use github.com/linxGnu/grocksdb
This commit is contained in:
parent
dad88a452f
commit
3ffbaaa071
1
go.mod
1
go.mod
|
@ -181,6 +181,7 @@ require (
|
||||||
github.com/jcmturner/goidentity/v6 v6.0.1 // indirect
|
github.com/jcmturner/goidentity/v6 v6.0.1 // indirect
|
||||||
github.com/jcmturner/rpc/v2 v2.0.2 // indirect
|
github.com/jcmturner/rpc/v2 v2.0.2 // indirect
|
||||||
github.com/leodido/go-urn v1.2.0 // indirect
|
github.com/leodido/go-urn v1.2.0 // indirect
|
||||||
|
github.com/linxGnu/grocksdb v1.6.38 // indirect
|
||||||
github.com/mattn/go-runewidth v0.0.7 // indirect
|
github.com/mattn/go-runewidth v0.0.7 // indirect
|
||||||
github.com/miekg/dns v1.1.25-0.20191211073109-8ebf2e419df7 // indirect
|
github.com/miekg/dns v1.1.25-0.20191211073109-8ebf2e419df7 // indirect
|
||||||
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/tecbot/gorocksdb"
|
gorocksdb "github.com/linxGnu/grocksdb"
|
||||||
|
|
||||||
"github.com/chrislusf/seaweedfs/weed/filer"
|
"github.com/chrislusf/seaweedfs/weed/filer"
|
||||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||||
|
|
|
@ -5,7 +5,7 @@ package rocksdb
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/tecbot/gorocksdb"
|
gorocksdb "github.com/linxGnu/grocksdb"
|
||||||
|
|
||||||
"github.com/chrislusf/seaweedfs/weed/filer"
|
"github.com/chrislusf/seaweedfs/weed/filer"
|
||||||
)
|
)
|
||||||
|
@ -38,3 +38,8 @@ func (t *TTLFilter) Filter(level int, key, val []byte) (remove bool, newVal []by
|
||||||
func (t *TTLFilter) Name() string {
|
func (t *TTLFilter) Name() string {
|
||||||
return "TTLFilter"
|
return "TTLFilter"
|
||||||
}
|
}
|
||||||
|
func (t *TTLFilter) SetIgnoreSnapshots(value bool) {
|
||||||
|
}
|
||||||
|
|
||||||
|
func (t *TTLFilter) Destroy() {
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue