switch to my forked repo

This commit is contained in:
Brian McQueen
2014-12-14 00:20:21 -08:00
parent a3583e4e7c
commit c0dfdf4392
69 changed files with 141 additions and 140 deletions

View File

@@ -14,9 +14,9 @@ import (
"sync"
"time"
"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"
)
type BenchmarkOptions struct {

View File

@@ -1,8 +1,8 @@
package main
import (
"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"
)
func init() {

View File

@@ -8,8 +8,8 @@ import (
"path"
"strings"
"github.com/chrislusf/weed-fs/go/operation"
"github.com/chrislusf/weed-fs/go/util"
"github.com/mcqueenorama/weed-fs/go/operation"
"github.com/mcqueenorama/weed-fs/go/util"
)
var (

View File

@@ -11,8 +11,8 @@ import (
"text/template"
"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"
)
func init() {

View File

@@ -6,9 +6,9 @@ import (
"strconv"
"time"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/weed/weed_server"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/util"
"github.com/mcqueenorama/weed-fs/go/weed/weed_server"
)
var (
@@ -57,6 +57,7 @@ var cmdFiler = &Command{
}
func runFiler(cmd *Command, args []string) bool {
if err := util.TestFolderWritable(*f.dir); err != nil {
glog.Fatalf("Check Meta Folder (-dir) Writable %s : %s", *f.dir, err)
}

View File

@@ -5,8 +5,8 @@ import (
"path"
"strconv"
"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"
)
func init() {

View File

@@ -8,9 +8,9 @@ import (
"strings"
"time"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/weed/weed_server"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/util"
"github.com/mcqueenorama/weed-fs/go/weed/weed_server"
"github.com/gorilla/mux"
)

View File

@@ -9,10 +9,10 @@ import (
"bazil.org/fuse"
"bazil.org/fuse/fs"
"github.com/chrislusf/weed-fs/go/filer"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/chrislusf/weed-fs/go/util"
"github.com/mcqueenorama/weed-fs/go/filer"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/util"
)
func runMount(cmd *Command, args []string) bool {

View File

@@ -10,9 +10,9 @@ import (
"sync"
"time"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/weed/weed_server"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/util"
"github.com/mcqueenorama/weed-fs/go/weed/weed_server"
"github.com/gorilla/mux"
)

View File

@@ -5,7 +5,7 @@ import (
"fmt"
"os"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/glog"
)
func init() {

View File

@@ -6,7 +6,7 @@ import (
"os"
"path/filepath"
"github.com/chrislusf/weed-fs/go/operation"
"github.com/mcqueenorama/weed-fs/go/operation"
)
var (

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"runtime"
"github.com/chrislusf/weed-fs/go/util"
"github.com/mcqueenorama/weed-fs/go/util"
)
var cmdVersion = &Command{

View File

@@ -8,9 +8,9 @@ import (
"strings"
"time"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/weed/weed_server"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/util"
"github.com/mcqueenorama/weed-fs/go/weed/weed_server"
)
func init() {

View File

@@ -5,7 +5,7 @@ import (
"testing"
"time"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/glog"
)
func TestXYZ(t *testing.T) {

View File

@@ -13,7 +13,7 @@ import (
"unicode"
"unicode/utf8"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/glog"
)
var IsDebug *bool

View File

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

View File

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

View File

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

View File

@@ -3,7 +3,7 @@ package weed_server
import (
"net/http"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/glog"
)
/*

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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("\\", "\\\\", "\"", "\\\"")

View File

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

View File

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