This commit is contained in:
chrislu
2022-07-29 00:17:28 -07:00
parent 5c6c1e7e30
commit 26dbc6c905
588 changed files with 2058 additions and 2056 deletions

View File

@@ -36,6 +36,6 @@ go get github.com/tecbot/gorocksdb
# compile with rocksdb
```
cd ~/go/src/github.com/chrislusf/seaweedfs/weed
cd ~/go/src/github.com/seaweedfs/seaweedfs/weed
go install -tags rocksdb
```

View File

@@ -1,3 +1,4 @@
//go:build rocksdb
// +build rocksdb
package rocksdb
@@ -12,10 +13,10 @@ import (
gorocksdb "github.com/linxGnu/grocksdb"
"github.com/chrislusf/seaweedfs/weed/filer"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
weed_util "github.com/chrislusf/seaweedfs/weed/util"
"github.com/seaweedfs/seaweedfs/weed/filer"
"github.com/seaweedfs/seaweedfs/weed/glog"
"github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"
weed_util "github.com/seaweedfs/seaweedfs/weed/util"
)
func init() {

View File

@@ -1,3 +1,4 @@
//go:build rocksdb
// +build rocksdb
package rocksdb
@@ -6,7 +7,7 @@ import (
"context"
"fmt"
"github.com/chrislusf/seaweedfs/weed/filer"
"github.com/seaweedfs/seaweedfs/weed/filer"
)
func (store *RocksDBStore) KvPut(ctx context.Context, key []byte, value []byte) (err error) {

View File

@@ -10,8 +10,8 @@ import (
"testing"
"time"
"github.com/chrislusf/seaweedfs/weed/filer"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/seaweedfs/seaweedfs/weed/filer"
"github.com/seaweedfs/seaweedfs/weed/util"
)
func TestCreateAndFind(t *testing.T) {

View File

@@ -1,4 +1,5 @@
//+build rocksdb
//go:build rocksdb
// +build rocksdb
package rocksdb
@@ -7,7 +8,7 @@ import (
gorocksdb "github.com/linxGnu/grocksdb"
"github.com/chrislusf/seaweedfs/weed/filer"
"github.com/seaweedfs/seaweedfs/weed/filer"
)
type TTLFilter struct {