mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-22 00:37:24 +08:00
switch to my forked repo
This commit is contained in:
@@ -10,11 +10,11 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/stats"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/stats"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
)
|
||||
|
||||
var serverStats *stats.ServerStats
|
||||
|
@@ -4,8 +4,8 @@ import (
|
||||
"net/http"
|
||||
"strconv"
|
||||
|
||||
"github.com/chrislusf/weed-fs/go/filer"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/filer"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
type FilerServer struct {
|
||||
|
@@ -11,9 +11,9 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/syndtr/goleveldb/leveldb"
|
||||
)
|
||||
|
||||
|
@@ -3,7 +3,7 @@ package weed_server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
/*
|
||||
|
@@ -6,10 +6,10 @@ import (
|
||||
"net/url"
|
||||
"sync"
|
||||
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/sequence"
|
||||
"github.com/chrislusf/weed-fs/go/topology"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/sequence"
|
||||
"github.com/mcqueenorama/weed-fs/go/topology"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/goraft/raft"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
@@ -5,9 +5,9 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/stats"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/stats"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
func (ms *MasterServer) lookupVolumeId(vids []string, collection string) (volumeLocations map[string]operation.LookupResult) {
|
||||
|
@@ -9,11 +9,11 @@ import (
|
||||
"strings"
|
||||
|
||||
proto "code.google.com/p/goprotobuf/proto"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/topology"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/mcqueenorama/weed-fs/go/topology"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
)
|
||||
|
||||
func (ms *MasterServer) collectionDeleteHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
@@ -14,8 +14,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/topology"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/topology"
|
||||
"github.com/goraft/raft"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
@@ -6,8 +6,8 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/goraft/raft"
|
||||
)
|
||||
|
||||
|
@@ -6,8 +6,8 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
type VolumeServer struct {
|
||||
|
@@ -9,12 +9,12 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/images"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/stats"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/topology"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/images"
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/stats"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/mcqueenorama/weed-fs/go/topology"
|
||||
)
|
||||
|
||||
var fileNameEscaper = strings.NewReplacer("\\", "\\\\", "\"", "\\\"")
|
||||
|
@@ -4,9 +4,9 @@ import (
|
||||
"net/http"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/stats"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/stats"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
)
|
||||
|
||||
func (vs *VolumeServer) statusHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
@@ -3,7 +3,7 @@ package weed_server
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
func (vs *VolumeServer) vacuumVolumeCheckHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
Reference in New Issue
Block a user